aboutsummaryrefslogtreecommitdiff
path: root/www/layouts
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-06-15 17:45:45 +0800
committerYuqian Yang <crupest@crupest.life>2025-06-15 17:45:45 +0800
commitf2549905c848bcad28cb1f32373aed9cdcb43921 (patch)
tree2e011b2da8a05320597c54a231a75031bb323f3f /www/layouts
parentfdee23fbc10f81bdd9f9c2ade962aca988e77471 (diff)
downloadcrupest-f2549905c848bcad28cb1f32373aed9cdcb43921.tar.gz
crupest-f2549905c848bcad28cb1f32373aed9cdcb43921.tar.bz2
crupest-f2549905c848bcad28cb1f32373aed9cdcb43921.zip
www: update ending hr of article.
Diffstat (limited to 'www/layouts')
-rw-r--r--www/layouts/baseof.html2
-rw-r--r--www/layouts/single.html6
2 files changed, 6 insertions, 2 deletions
diff --git a/www/layouts/baseof.html b/www/layouts/baseof.html
index 6d00be5..b9cd715 100644
--- a/www/layouts/baseof.html
+++ b/www/layouts/baseof.html
@@ -26,6 +26,8 @@
{{ end }}
<hr/>
<footer class="mono-link">
+ {{ block "footer" . }}
+ {{ end }}
<p id="license">
<small>This work is licensed under
<a rel="license noopener noreferrer"
diff --git a/www/layouts/single.html b/www/layouts/single.html
index cd0e9c5..33360b4 100644
--- a/www/layouts/single.html
+++ b/www/layouts/single.html
@@ -18,6 +18,8 @@
{{ end}}
</p>
{{ .Content }}
- <hr class="end-hr"/>
- {{ partial "nav.html" . }}
{{ end }}
+
+{{ define "footer" }}
+ {{ partial "nav.html" . }}
+{{ end }} \ No newline at end of file