aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hunteman <michael@huntm.net>2024-01-08 10:49:43 -0600
committerMichael Hunteman <michael@huntm.net>2024-01-08 10:49:43 -0600
commit3c17c9a148218ce4f48d4b4487e21afe2417b32f (patch)
tree3998aafd1f29aed83a9e72c8489587ee75b5c2db
parent1828f99b5ad77c80588971e80da9943de5f3c0ad (diff)
Update footer style
-rw-r--r--assets/main.scss4
-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
6 files changed, 13 insertions, 17 deletions
diff --git a/assets/main.scss b/assets/main.scss
index bbbcdae..6279923 100644
--- a/assets/main.scss
+++ b/assets/main.scss
@@ -61,8 +61,10 @@ nav {
}
footer {
+ padding-top: 64px;
text-align: center;
- margin: 5rem 0;
+ font-size: small;
+ color: #888;
}
a {
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>