summaryrefslogtreecommitdiff
path: root/layouts/git
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-01-12 19:49:17 +0100
committerxengineering <me@xengineering.eu>2023-01-12 19:49:17 +0100
commit9990f9af26c243764b3c588491ce66b67e3099f2 (patch)
treea7abe67ecc36c1ce1aa391b21fc1a3c94ad2e91b /layouts/git
parent02fb96c854173e875d3f361706713af6e6c666a5 (diff)
downloadwebsite-9990f9af26c243764b3c588491ce66b67e3099f2.tar
website-9990f9af26c243764b3c588491ce66b67e3099f2.tar.zst
website-9990f9af26c243764b3c588491ce66b67e3099f2.zip
Introduce footer partial
This allows to re-use the footer code.
Diffstat (limited to 'layouts/git')
-rw-r--r--layouts/git/list.html5
-rw-r--r--layouts/git/single.html5
2 files changed, 2 insertions, 8 deletions
diff --git a/layouts/git/list.html b/layouts/git/list.html
index 65ed807..39a2563 100644
--- a/layouts/git/list.html
+++ b/layouts/git/list.html
@@ -53,10 +53,7 @@
{{ end -}}
</ul>
- <footer>
- <hr>
- <p>This <a href="{{ "git/website" | absURL }}">website</a> is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA</a> and developed with <a href="https://simplecss.org/">simple.css</a>.</p>
- </footer>
+ {{ partial "footer.html" . }}
</main>
</body>
diff --git a/layouts/git/single.html b/layouts/git/single.html
index 51ccbad..69c8a80 100644
--- a/layouts/git/single.html
+++ b/layouts/git/single.html
@@ -35,10 +35,7 @@
{{.Content}}
- <footer>
- <hr>
- <p>This <a href="{{ "git/website" | absURL }}">website</a> is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA</a> and developed with <a href="https://simplecss.org/">simple.css</a>.</p>
- </footer>
+ {{ partial "footer.html" . }}
</main>
</body>