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/single.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/single.html')
-rw-r--r-- | generators/hugo/themes/tdro/layouts/_default/single.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generators/hugo/themes/tdro/layouts/_default/single.html b/generators/hugo/themes/tdro/layouts/_default/single.html index b0917f3..572b90a 100644 --- a/generators/hugo/themes/tdro/layouts/_default/single.html +++ b/generators/hugo/themes/tdro/layouts/_default/single.html @@ -4,7 +4,7 @@ <div class="columns is-centered"> <div class="column is-7"> <article class="content document"> - <h1 class="title is-2 serif">{{ .Title }}</h1> + <h1 class="title is-2 serif">{{ .Title | markdownify }}</h1> {{ if .Params.toc }} <div class="tableofcontents marginnote rightnote is-inline"> <div class="is-size-6 is-uppercase has-text-weight-bold has-spacing-widest has-margin-bottom-sm">Table of Contents</div> |