diff options
author | tdro <tdro@noreply.example.com> | 2023-09-10 09:15:05 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-09-10 09:15:05 -0400 |
commit | 3ec7c6f82cbc70a9cef04256aa6191001c011f48 (patch) | |
tree | 7ef85e962de5b25fb4ab464e77a9ed7f34bbd84f /themes/default/layouts/_default | |
parent | 8934a7738eba3836c34c1b9369c28a42afc1c66d (diff) | |
download | canory-3ec7c6f82cbc70a9cef04256aa6191001c011f48.tar.gz canory-3ec7c6f82cbc70a9cef04256aa6191001c011f48.tar.bz2 canory-3ec7c6f82cbc70a9cef04256aa6191001c011f48.zip |
themes/default/layouts/_default/section.webring: Cleanup structure
To better support painting animations
Diffstat (limited to 'themes/default/layouts/_default')
-rw-r--r-- | themes/default/layouts/_default/section.webring.html | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/themes/default/layouts/_default/section.webring.html b/themes/default/layouts/_default/section.webring.html index f3689d8..e2f4518 100644 --- a/themes/default/layouts/_default/section.webring.html +++ b/themes/default/layouts/_default/section.webring.html @@ -34,26 +34,25 @@ {{ or .FeedTitle (truncate 50 "..." (or .FeedContentShort .FeedDescriptionShort)) }} </a> </h2> - <time - title="{{ .FeedDateTitle }}" - datetime="{{ .FeedDateTime }}"> - {{ .FeedDate }} - </time> <p> - {{ "--" | markdownify }} {{ if gt (len .FeedDescriptionShort) (len .FeedContentShort) -}} {{ or .FeedDescriptionShort .FeedTitle }} {{- else -}} {{ or .FeedContentShort .FeedTitle }} {{- end }} — + <a + data-hover + title="{{ .FeedSourceDescription }}" + href="{{ or .FeedSourceHome .FeedSourceLink }}"> + {{ .FeedSourceTitle }} + </a> </p> - <a - data-hover - title="{{ .FeedSourceDescription }}" - href="{{ or .FeedSourceHome .FeedSourceLink }}"> - {{ .FeedSourceTitle }} - </a> + <time + title="{{ .FeedDateTitle }}" + datetime="{{ .FeedDateTime }}"> + {{ .FeedDate }} + </time> </article> {{- end -}} {{- end -}} |