hugo-theme/layouts/partials/block/desc.html

12 lines
299 B
HTML
Raw Normal View History

2024-10-21 13:47:30 +02:00
{{ with .Description }}
<div class="my-4 text-large text-slate-600 dark:text-slate-300">
{{ . | $.Page.RenderString }}
</div>
{{ else }}
{{ with .Summary }}
<div class="my-4 text-large text-slate-600 dark:text-slate-300">
{{ . | $.Page.RenderString }}
</div>
{{ end }}
{{ end }}