diff options
-rw-r--r-- | assets/main.scss | 4 | ||||
-rw-r--r-- | layouts/_default/list.html | 5 | ||||
-rw-r--r-- | layouts/_default/single.html | 5 | ||||
-rw-r--r-- | layouts/blog/single.html | 5 | ||||
-rw-r--r-- | layouts/index.html | 5 | ||||
-rw-r--r-- | layouts/partials/footer.html | 6 |
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> |