diff options
author | tdro <tdro@noreply.example.com> | 2022-10-10 02:15:01 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-10-10 02:15:01 -0400 |
commit | d58e237d38863856a864afa370d8c6d628c1aa86 (patch) | |
tree | 7d01aa7de72e1e83e6a5aab48fe0f61e3c922d63 /themes | |
parent | 2f18bda0de5f3ba1d75d601fcc536515995a4327 (diff) | |
download | canory-d58e237d38863856a864afa370d8c6d628c1aa86.tar.gz canory-d58e237d38863856a864afa370d8c6d628c1aa86.tar.bz2 canory-d58e237d38863856a864afa370d8c6d628c1aa86.zip |
themes/default/layouts/partials/web-ring: Set <time> and <p> inline
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/layouts/partials/generate-feeds.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/themes/default/layouts/partials/generate-feeds.html b/themes/default/layouts/partials/generate-feeds.html index b8f99b2..aec232f 100644 --- a/themes/default/layouts/partials/generate-feeds.html +++ b/themes/default/layouts/partials/generate-feeds.html @@ -256,20 +256,20 @@ {{ .FeedTitle }} </a> </header> - + <time + title="{{ .FeedDateTitle }}" + datetime="{{ .FeedDateTime }}"> + {{ .FeedDate }} + </time> <p> - <time - title="{{ .FeedDateTitle }}" - datetime="{{ .FeedDateTime }}"> - {{ .FeedDate }} - </time> + {{ "--" | markdownify }} {{ if gt (len .FeedDescriptionShort) (len .FeedContentShort) -}} - {{ "--" | markdownify }} {{ or .FeedDescriptionShort .FeedTitle }} + {{ or .FeedDescriptionShort .FeedTitle }} {{- else -}} - {{ "--" | markdownify }} {{ or .FeedContentShort .FeedTitle }} + {{ or .FeedContentShort .FeedTitle }} {{- end }} + — </p> - <a title="{{ .FeedSourceDescription }}" href="{{ or .FeedSourceHome .FeedSourceLink }}"> |