From 5cff4da5008884bbb088730512b0a3c793819182 Mon Sep 17 00:00:00 2001 From: Drew Date: Tue, 22 Apr 2025 19:18:55 -0600 Subject: [PATCH] adds footer close #5 --- config.toml | 7 ++++++- layouts/_default/baseof.html | 1 + layouts/partials/footer.html | 24 ++++++++++++++++++++++++ layouts/partials/header.html | 4 ++-- 4 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 layouts/partials/footer.html diff --git a/config.toml b/config.toml index 96f1deb..b74c9bc 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -baseURL = 'http://example.org/' +baseURL = 'https://protocol.ecologies.info/' languageCode = 'en-us' title = 'Protocol Oral History Project' theme = "hugo-starter-tailwind-basic" @@ -16,6 +16,11 @@ theme = "hugo-starter-tailwind-basic" images = ["/images/default-og.jpg"] # Will be replaced by wompum generation twitterSite = "" facebookAppID = "" + footer = """ +A project of the [Media Economies Design Lab](https://www.colorado.edu/lab/medlab/) +Available under the [Creative Commons Attribution License (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/) +Website design by [Drew Hornbein](https://dhornbein.com) +""" [params.author] name = "Media Economies Design Lab" diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 447c7a2..d2fac91 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -89,6 +89,7 @@
{{ block "main" . }}{{ end }}
+ {{ partial "footer.html" . }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..9ff7650 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,24 @@ + \ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 17645aa..a5fab07 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -7,10 +7,10 @@