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/archive.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/archive.html')
-rw-r--r-- | generators/hugo/themes/tdro/layouts/_default/archive.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generators/hugo/themes/tdro/layouts/_default/archive.html b/generators/hugo/themes/tdro/layouts/_default/archive.html index 784d130..2356340 100644 --- a/generators/hugo/themes/tdro/layouts/_default/archive.html +++ b/generators/hugo/themes/tdro/layouts/_default/archive.html @@ -18,7 +18,8 @@ {{ if (ne .Params.hidden true) }} <li> <a title="{{ .Title }}" class="is-block" href="{{ .RelPermalink }}"> - <span class="article__list__date monospace has-text-grey-dark">{{ .Date.Format "02 Jan" }}</span>{{ .Title }} + <span class="article__list__date monospace has-text-grey-dark">{{ .Date.Format "02 Jan" }}</span> + {{- .Title | markdownify -}} </a> </li> {{ end }} |