mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-12 01:47:28 -05:00
Deduplicate .Description and .Summary blocks
This commit is contained in:
5
layouts/partials/description-or-summary.html
Normal file
5
layouts/partials/description-or-summary.html
Normal file
@ -0,0 +1,5 @@
|
||||
{{ with .Description }}
|
||||
<p>{{ . | markdownify }}</p>
|
||||
{{ else }}
|
||||
{{ .Summary }}
|
||||
{{ end }}
|
Reference in New Issue
Block a user