diff options
author | Thedro Neely <thedroneely@gmail.com> | 2022-03-19 03:28:50 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2022-03-19 07:02:08 -0400 |
commit | 450fe6b28f14605260d3cbbc5b28957996868774 (patch) | |
tree | e3ac2a720ddb6b3585ff5bb77bf12b643f85f13e /generators/hugo/themes/tdro/layouts/_default/taxonomy.html | |
parent | d47c3140bff4c7d3a3c87da2546aee420e44bab4 (diff) | |
download | thedroneely.com-450fe6b28f14605260d3cbbc5b28957996868774.tar.gz thedroneely.com-450fe6b28f14605260d3cbbc5b28957996868774.tar.bz2 thedroneely.com-450fe6b28f14605260d3cbbc5b28957996868774.zip |
generators/layouts/shortcodes: Don't mix HTML and markdown
Freedom. Use Hugo's newer markdownify feature and convert all posts
to pure markdown. Render hooks will propagate if .RenderString
function gains the ability to render shortcodes in the future.
https://gohugo.io/functions/renderstring/
Diffstat (limited to 'generators/hugo/themes/tdro/layouts/_default/taxonomy.html')
-rw-r--r-- | generators/hugo/themes/tdro/layouts/_default/taxonomy.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/generators/hugo/themes/tdro/layouts/_default/taxonomy.html b/generators/hugo/themes/tdro/layouts/_default/taxonomy.html index bbfc41a..a0090e1 100644 --- a/generators/hugo/themes/tdro/layouts/_default/taxonomy.html +++ b/generators/hugo/themes/tdro/layouts/_default/taxonomy.html @@ -43,7 +43,10 @@ {{ range $article.Pages }} <li> <a title="{{ .Title }}" class="is-block" href="{{ .RelPermalink }}"> - <span class="article__list__date monospace has-text-grey-dark">{{ .Date.Format "02 Jan 2006" }}</span>{{ .Title }} + <span class="article__list__date monospace has-text-grey-dark"> + {{- .Date.Format "02 Jan 2006" -}} + </span> + {{- .Title | markdownify -}} </a> </li> {{ end }} |