diff options
author | tdro <tdro@noreply.example.com> | 2022-08-09 17:02:00 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-08-09 17:02:00 -0400 |
commit | 71871c276878ea40ba03aaa00db09223259916a5 (patch) | |
tree | 9525afda4c4f236f2f0e1b0282cc09ae9f879264 /themes/default/layouts/partials/following-list.html | |
parent | 5aad7b6e4baab33a9445713bef8ecfc6aa5560db (diff) | |
download | canory-71871c276878ea40ba03aaa00db09223259916a5.tar.gz canory-71871c276878ea40ba03aaa00db09223259916a5.tar.bz2 canory-71871c276878ea40ba03aaa00db09223259916a5.zip |
themes/default/layouts/partials/following-list: Resolve per feed images
Diffstat (limited to 'themes/default/layouts/partials/following-list.html')
-rw-r--r-- | themes/default/layouts/partials/following-list.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/themes/default/layouts/partials/following-list.html b/themes/default/layouts/partials/following-list.html index 5dfc670..da8615d 100644 --- a/themes/default/layouts/partials/following-list.html +++ b/themes/default/layouts/partials/following-list.html @@ -3,8 +3,9 @@ {{- if .Params.feed -}} {{- $following = $following | append (dict - "Name" .Params.feed.name - "Domain" .Params.feed.domain + "Name" .Params.feed.name + "Domain" .Params.feed.domain + "Favicon" .Params.feed.image ) -}} {{- end -}} @@ -22,10 +23,10 @@ <a title="{{ .Name }}" href="http://{{ .Domain }}"> <picture> <img - alt="{{ .Name }}" width="64" height="64" - src="{{ print "/data/media/favicon." .Domain ".png" }}" + alt="{{ .Name }}" + src="{{ .Favicon }}" /> </picture> </a> |