diff options
author | tdro <tdro@noreply.example.com> | 2022-07-24 18:34:23 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-07-24 18:34:23 -0400 |
commit | 3c061eed0ed1e35455d115ee79ec93789acc3a5e (patch) | |
tree | fe410020f75c7b31f06f7a435877a56490fcfc8a /themes/default | |
parent | 5eb2116060a84c915f9a4dba1d671f96e856f2eb (diff) | |
download | canory-3c061eed0ed1e35455d115ee79ec93789acc3a5e.tar.gz canory-3c061eed0ed1e35455d115ee79ec93789acc3a5e.tar.bz2 canory-3c061eed0ed1e35455d115ee79ec93789acc3a5e.zip |
themes/default/layouts/partials/following-list: Remove description
Since we cannot unique on certain keys. Descriptions can change
arbitrarily and create uniqueness.
Diffstat (limited to 'themes/default')
-rw-r--r-- | themes/default/layouts/partials/following-list.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/themes/default/layouts/partials/following-list.html b/themes/default/layouts/partials/following-list.html index 3adb2fd..5dfc670 100644 --- a/themes/default/layouts/partials/following-list.html +++ b/themes/default/layouts/partials/following-list.html @@ -5,7 +5,6 @@ $following = $following | append (dict "Name" .Params.feed.name "Domain" .Params.feed.domain - "Description" .Params.feed.description ) -}} {{- end -}} @@ -20,7 +19,7 @@ <micro-summary> <micro-thumbnail> <figure> - <a title="{{ .Description }}" href="http://{{ .Domain }}"> + <a title="{{ .Name }}" href="http://{{ .Domain }}"> <picture> <img alt="{{ .Name }}" @@ -36,7 +35,7 @@ <h2><b>{{ .Name }}</b></h2> <h3><a title="{{ .Name }}" href="http://{{ .Domain }}">@{{ .Domain }}</a></h3> </micro-header> - <a title="Follow" href="http://{{ .Domain }}"> + <a title="Follow {{ .Name }}" href="http://{{ .Domain }}"> {{ safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/rss.svg")) }} <span>Follow</span> </a> |