aboutsummaryrefslogtreecommitdiff
path: root/www/layouts
diff options
context:
space:
mode:
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