Revert "Tweak theme to detect and use front matter "description" field"
This commit is contained in:
parent
552820a982
commit
27d8b86b44
@ -6,11 +6,7 @@
|
|||||||
|
|
||||||
{{ if not .Site.Params.disableSummary }}
|
{{ if not .Site.Params.disableSummary }}
|
||||||
<div class="content post-summary p-summary">
|
<div class="content post-summary p-summary">
|
||||||
{{ if isset .Params "description" }}
|
{{ .Summary | safeHTML }}
|
||||||
{{ .Description | safeHTML }}
|
|
||||||
{{ else }}
|
|
||||||
{{ .Summary | safeHTML }}…
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if and (.Truncated) (.Site.Params.readMore) }}
|
{{ if and (.Truncated) (.Site.Params.readMore) }}
|
||||||
|
Loading…
Reference in New Issue
Block a user