use headless for watching support

This commit is contained in:
2023-02-19 13:12:01 +01:00
parent ff31e4e418
commit a10c903807
13 changed files with 5 additions and 2 deletions

3
content/data/index.md Normal file
View File

@ -0,0 +1,3 @@
---
headless: true
---

View File

@ -14,7 +14,7 @@
{{ if .description }}
<div class="prose dark:prose-invert mb-8">
{{ readFile "_data/works/realworld.md" | markdownify }}
{{ readFile "data/works/realworld.md" | markdownify }}
</div>
{{ end }}
@ -43,7 +43,7 @@
</div>
{{ end }}
<div class="prose dark:prose-invert flex-grow">
{{ readFile (print "_data/works/" .name ".md") | markdownify }}
{{ readFile (print "data/works/" .name ".md") | markdownify }}
</div>
<div class="flex justify-center gap-4">
{{ partial "button.html" (dict "text" (partial "icon.html" "github") "href" (print