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 }}
|
||||
<div class="content post-summary p-summary">
|
||||
{{ if isset .Params "description" }}
|
||||
{{ .Description | safeHTML }}
|
||||
{{ else }}
|
||||
{{ .Summary | safeHTML }}…
|
||||
{{ end }}
|
||||
{{ .Summary | safeHTML }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if and (.Truncated) (.Site.Params.readMore) }}
|
||||
|
Loading…
Reference in New Issue
Block a user