aboutsummaryrefslogtreecommitdiff
path: root/generators/hugo/themes/tdro/layouts/_default/archive.html
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2022-03-19 03:28:50 -0400
committerThedro Neely <thedroneely@gmail.com>2022-03-19 07:02:08 -0400
commit450fe6b28f14605260d3cbbc5b28957996868774 (patch)
treee3ac2a720ddb6b3585ff5bb77bf12b643f85f13e /generators/hugo/themes/tdro/layouts/_default/archive.html
parentd47c3140bff4c7d3a3c87da2546aee420e44bab4 (diff)
downloadthedroneely.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.html3
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 }}