hugo-theme/layouts/partials/block/desc.html
2024-10-21 13:47:30 +02:00

12 lines
299 B
HTML

{{ 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 }}