diff options
author | tdro <tdro@noreply.example.com> | 2022-08-08 23:30:17 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-08-08 23:30:17 -0400 |
commit | 41b31d99a308d4902e4a7cb13173994f303319a2 (patch) | |
tree | 064686b5f93536ad2752651132143d44bdf0fc54 /themes/default | |
parent | a6aef53e6f187387da24f00165493b5893608919 (diff) | |
download | canory-41b31d99a308d4902e4a7cb13173994f303319a2.tar.gz canory-41b31d99a308d4902e4a7cb13173994f303319a2.tar.bz2 canory-41b31d99a308d4902e4a7cb13173994f303319a2.zip |
data: Pre add picture entry and generalize feeds
Diffstat (limited to 'themes/default')
-rw-r--r-- | themes/default/layouts/partials/generate-feeds.html | 4 | ||||
-rw-r--r-- | themes/default/layouts/partials/profile.html | 2 |
2 files changed, 3 insertions, 3 deletions
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> |