From 7773f2683072ea93e003e274f0b7354fbf1fcc3f Mon Sep 17 00:00:00 2001 From: Zach <zachrog@gmail.com> Date: Tue, 13 Jul 2021 20:28:36 -0700 Subject: [PATCH] No need to markdownify .Content, per Hugo project (https://github.com/gohugoio/hugo/issues/2616#issuecomment-255179057). This fixes issues with showFullContent. --- layouts/_default/index.html | 2 +- layouts/_default/list.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/index.html b/layouts/_default/index.html index 1a44b29..59b8e5d 100644 --- a/layouts/_default/index.html +++ b/layouts/_default/index.html @@ -44,7 +44,7 @@ <div class="post-content"> {{ if .Params.showFullContent }} - {{ .Content | markdownify }} + {{ .Content }} {{ else if .Description }} {{ .Description | markdownify }} {{ else }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 2090966..d8e4f66 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -35,7 +35,7 @@ <div class="post-content"> {{ if .Params.showFullContent }} - {{ .Content | markdownify }} + {{ .Content }} {{ else if .Description }} {{ .Description | markdownify }} {{ else }}