mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-14 10:27:29 -05:00
Deduplicate .Description and .Summary blocks
This commit is contained in:
@ -14,13 +14,7 @@
|
||||
{{ end }}
|
||||
|
||||
<div class="post-description">
|
||||
{{ if .Description }}
|
||||
<p>
|
||||
{{ .Description | markdownify }}
|
||||
</p>
|
||||
{{ else }}
|
||||
{{ .Summary }}
|
||||
{{ end }}
|
||||
{{ partial "description-or-summary.html" . }}
|
||||
</div>
|
||||
|
||||
<div class="readmore">
|
||||
|
Reference in New Issue
Block a user