aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/list.html5
-rw-r--r--layouts/_default/single.html5
-rw-r--r--layouts/blog/single.html5
-rw-r--r--layouts/index.html5
-rw-r--r--layouts/partials/footer.html6
5 files changed, 10 insertions, 16 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index c4541d1..6d9c5dc 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -25,9 +25,6 @@
</div>
{{ end }}
</main>
+ {{ partial "footer.html" . }}
</body>
- <footer>
- Site content is <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA-4.0</a>.
- Software projects are <a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GNU GPLv3</a>.
- </footer>
</html>
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 863d6cc..55e4e0a 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -14,9 +14,6 @@
<h2>{{ .Title }}</h2>
{{ .Content }}
</main>
+ {{ partial "footer.html" . }}
</body>
- <footer>
- Site content is <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA-4.0</a>.
- Software projects are <a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GNU GPLv3</a>.
- </footer>
</html>
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
index 5c91492..b8ceba1 100644
--- a/layouts/blog/single.html
+++ b/layouts/blog/single.html
@@ -19,9 +19,6 @@
</h2>
{{ .Content }}
</main>
+ {{ partial "footer.html" . }}
</body>
- <footer>
- Site content is <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA-4.0</a>.
- Software projects are <a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GNU GPLv3</a>.
- </footer>
</html>
diff --git a/layouts/index.html b/layouts/index.html
index c4dcf34..894b065 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -13,9 +13,6 @@
<main>
{{ .Content }}
</main>
+ {{ partial "footer.html" . }}
</body>
- <footer>
- Site content is <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA-4.0</a>.
- Software projects are <a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GNU GPLv3</a>.
- </footer>
</html>
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
new file mode 100644
index 0000000..b412634
--- /dev/null
+++ b/layouts/partials/footer.html
@@ -0,0 +1,6 @@
+<footer>
+ <p>
+ Site content is <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA-4.0</a>.
+ Software projects are <a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GNU GPLv3</a>.
+ </p>
+</footer>