aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-05-13 04:24:27 -0400
committertdro <tdro@noreply.example.com>2022-05-13 04:24:27 -0400
commite3a3676dff760f16c0148a99b8f3f4324e314231 (patch)
tree35771435f20db1d48b263bda70337e10f6f7128b
parent6d024f0dc8e1d5f7d7f877177eb8d4742deac7cb (diff)
downloadcanory-e3a3676dff760f16c0148a99b8f3f4324e314231.tar.gz
canory-e3a3676dff760f16c0148a99b8f3f4324e314231.tar.bz2
canory-e3a3676dff760f16c0148a99b8f3f4324e314231.zip
themes/default/layouts/partials/footer: Set default user
-rw-r--r--config.json5
-rw-r--r--config.toml3
-rw-r--r--config.yaml3
-rw-r--r--themes/default/layouts/partials/footer.html2
4 files changed, 8 insertions, 5 deletions
diff --git a/config.json b/config.json
index 27ae6df..f800b12 100644
--- a/config.json
+++ b/config.json
@@ -10,10 +10,11 @@
"enableRobotsTXT": true,
"author": {
"default": {
+ "footer": "canory",
"home": "canory",
+ "picturegallery": "canory",
"user": "default",
- "webring": "canory",
- "picturegallery": "canory"
+ "webring": "canory"
},
"footer": "A Micro Blog\n"
},
diff --git a/config.toml b/config.toml
index d3592d5..90a38c5 100644
--- a/config.toml
+++ b/config.toml
@@ -11,10 +11,11 @@ enableRobotsTXT = true
footer = "A Micro Blog\n"
[author.default]
+ footer = "canory"
home = "canory"
+ picturegallery = "canory"
user = "default"
webring = "canory"
- picturegallery = "canory"
[taxonomies]
tag = "tags"
diff --git a/config.yaml b/config.yaml
index 9eb06d4..4b00fed 100644
--- a/config.yaml
+++ b/config.yaml
@@ -12,10 +12,11 @@ enableRobotsTXT: true
author:
default:
+ footer: canory
home: canory
+ picturegallery: canory
user: default
webring: canory
- picturegallery: canory
footer: >
A Micro Blog
diff --git a/themes/default/layouts/partials/footer.html b/themes/default/layouts/partials/footer.html
index 5fe4295..203ac64 100644
--- a/themes/default/layouts/partials/footer.html
+++ b/themes/default/layouts/partials/footer.html
@@ -1,4 +1,4 @@
-{{ $author := index .Site.Data.authors ((or .Params.author .Site.Author.default.user) | default "default") }}
+{{ $author := index .Site.Data.authors ((or .Params.author .Site.Author.default.footer) | default "default") }}
<footer>
{{- with .Site.Author.footer -}}