summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/baseof.html9
-rw-r--r--layouts/partials/footer-license.html6
2 files changed, 14 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 373e635..fdee79d 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -25,7 +25,14 @@
</div>
<footer>
- {{ partial "footer.html" . }}
+ {{ if .Param "showFooterLicense" }}
+ <div>
+ {{ partial "footer-license.html" . }}
+ </div>
+ {{ end }}
+ <div>
+ {{ partial "footer.html" . }}
+ </div>
</footer>
</body>
diff --git a/layouts/partials/footer-license.html b/layouts/partials/footer-license.html
new file mode 100644
index 0000000..6b05b04
--- /dev/null
+++ b/layouts/partials/footer-license.html
@@ -0,0 +1,6 @@
+<p>
+ All content licensed under
+ <b>{{ .Param "licenseType" }}</b>
+ license unless otherwise stated.
+ <b>Copyright © {{ .Param "copyrightYear" }} {{ .Param "copyrightHolder" }}.</b>
+ </p>