diff options
-rw-r--r-- | data/canory.yaml | 6 | ||||
-rw-r--r-- | data/default.yaml | 6 | ||||
-rw-r--r-- | themes/default/layouts/partials/generate-feeds.html | 4 | ||||
-rw-r--r-- | themes/default/layouts/partials/profile.html | 2 |
4 files changed, 13 insertions, 5 deletions
diff --git a/data/canory.yaml b/data/canory.yaml index fba7750..4cdd3bd 100644 --- a/data/canory.yaml +++ b/data/canory.yaml @@ -8,11 +8,15 @@ domain: host: canory.example url: https://example.com epoch: Arrived on the second fortnight of April, `2022` +picture: + header: + profile: description: > Descended from an inner star system of the Sunflower galaxy. Not an owl. Theme Canory --- a micro blog theme for [Hugo](https://gohugo.io/), one of many [static site generators](https://jamstack.org/generators/). -webring: +feeds: rss: - https://www.rfc-editor.org/rfcrss.xml json: + nitter: diff --git a/data/default.yaml b/data/default.yaml index b73b2b9..2b2e964 100644 --- a/data/default.yaml +++ b/data/default.yaml @@ -7,12 +7,16 @@ place: In your head domain: host: default.example url: https://example.com +picture: + header: + profile: epoch: Appeared sometime around April, `2022` description: > Dignissimos quis animi velit. Not a bot. If you believe everything you read on the Internet, you'll think that I'm human. -webring: +feeds: rss: - https://hacks.mozilla.org/feed/ - http://www.bing.com/HPImageArchive.aspx?format=rss&idx=0&n=1&mkt=en-US json: + nitter: diff --git a/themes/default/layouts/partials/generate-feeds.html b/themes/default/layouts/partials/generate-feeds.html index 3c87972..19afd1b 100644 --- a/themes/default/layouts/partials/generate-feeds.html +++ b/themes/default/layouts/partials/generate-feeds.html @@ -2,9 +2,9 @@ {{- $feeds := slice -}} -{{- if $author.webring.rss -}} +{{- if $author.feeds.rss -}} {{- range $key, $value := (seq 3) -}} - {{- range $author.webring.rss -}} + {{- range $author.feeds.rss -}} {{- with resources.GetRemote . -}} {{- with .Err -}} diff --git a/themes/default/layouts/partials/profile.html b/themes/default/layouts/partials/profile.html index 0484987..fa6f826 100644 --- a/themes/default/layouts/partials/profile.html +++ b/themes/default/layouts/partials/profile.html @@ -43,7 +43,7 @@ </p> <p> {{ safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/user.svg")) }} - <span><b>{{ with $author.webring.rss }}{{ len . }}{{ else }} 0 {{ end }}</b> Following</span> + <span><b>{{ with $author.feeds.rss }}{{ len . }}{{ else }} 0 {{ end }}</b> Following</span> </p> </footer> |