mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-07-28 20:51:35 -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