diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-02-24 02:18:20 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-02-26 02:21:41 +0800 |
commit | 0c885ba1bf30ce8308880f926be85b6f5a499fa6 (patch) | |
tree | 25f42a9386f760c9d7d47d9b154e4a0089e49dff /www/layouts/_default/single.html | |
parent | dc7b27c713351066e20947ea6d1adb80aeb68d9f (diff) | |
download | crupest-0c885ba1bf30ce8308880f926be85b6f5a499fa6.tar.gz crupest-0c885ba1bf30ce8308880f926be85b6f5a499fa6.tar.bz2 crupest-0c885ba1bf30ce8308880f926be85b6f5a499fa6.zip |
feat(www): YEAH!
Diffstat (limited to 'www/layouts/_default/single.html')
-rw-r--r-- | www/layouts/_default/single.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/www/layouts/_default/single.html b/www/layouts/_default/single.html new file mode 100644 index 0000000..83297cf --- /dev/null +++ b/www/layouts/_default/single.html @@ -0,0 +1,17 @@ +{{ define "head"}} + {{ partial "css.html" "single.css" }} +{{ end }} + +{{ define "title" }} + {{ .Title }} +{{ end }} + +{{ define "content" }} + {{ partial "nav.html" . }} + <h1 class="post-title">{{ .Title }}</h1> + <hr/> + <p class="post-info"><span class="created">{{ partial "date.html" .Date }}</span> <span class="last-updated">Last updated: {{ partial "date.html" .Lastmod }}</span></p> + {{ .Content }} + <hr class="end-hr"/> + {{ partial "nav.html" . }} +{{ end }} |