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:
parent
ca1cc0c391
commit
7773f26830
@ -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 }}
|
||||||
|
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user