No need to markdownify .Content, per Hugo project (https://github.com/gohugoio/hugo/issues/2616#issuecomment-255179057). This fixes issues with showFullContent.

This commit is contained in:
Zach 2021-07-13 20:28:36 -07:00
parent ca1cc0c391
commit 7773f26830
No known key found for this signature in database
GPG Key ID: 10B51BE77049F654
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@
<div class="post-content"> <div class="post-content">
{{ if .Params.showFullContent }} {{ if .Params.showFullContent }}
{{ .Content | markdownify }} {{ .Content }}
{{ else if .Description }} {{ else if .Description }}
{{ .Description | markdownify }} {{ .Description | markdownify }}
{{ else }} {{ else }}

View File

@ -35,7 +35,7 @@
<div class="post-content"> <div class="post-content">
{{ if .Params.showFullContent }} {{ if .Params.showFullContent }}
{{ .Content | markdownify }} {{ .Content }}
{{ else if .Description }} {{ else if .Description }}
{{ .Description | markdownify }} {{ .Description | markdownify }}
{{ else }} {{ else }}