Add WebID
Tim Izzo tim@octree.ch
Wed, 14 Dec 2022 16:09:19 +0100
4 files changed,
17 insertions(+),
1 deletions(-)
M
build.sh
→
build.sh
@@ -5,7 +5,10 @@ OUTPUT=${HOME_OUTPUT:-"build"}
# Reset build directory rm -rf build -mkdir -p build +mkdir -p build/html + +# Copy static files into default directory +cp -r statics/* build/html # Generate pages and data deno run --unstable -A generator/mod.ts --input $INPUT --output $OUTPUT
A
statics/profile.ttl
@@ -0,0 +1,12 @@
+@prefix foaf: <http://xmlns.com/foaf/0.1/> . + +<> a foaf:PersonalProfileDocument ; + foaf:maker <#me> ; + foaf:primaryTopic <#me> . + +<#me> a foaf:Person ; + foaf:name "Tim Izzo" ; + foaf:nick "5ika" ; + foaf:mbox <mailto:tim@5ika.ch> ; + foaf:img <https://5ika.ch/img/picture.jpg> ; + foaf:homepage <https://5ika.ch> .
M
templates/page.html
→
templates/page.html
@@ -20,6 +20,7 @@ type="application/rss+xml"
rel="alternate" title="5ika's posts" /> + <link rel="alternate" type="text/turtle" href="profile.ttl" /> <title>$TITLE</title> </head> <body>