feat(view): reduce data size in Card

This commit is contained in:
George Cushen 2024-05-19 13:12:23 +01:00
commit 78e9a5787d

View file

@ -24,7 +24,7 @@
<p class="block mt-1 text-sm leading-tight font-medium text-black dark:text-white"> <p class="block mt-1 text-sm leading-tight font-medium text-black dark:text-white">
{{ ($item.Params.summary | default $item.Summary) | plainify | htmlUnescape | chomp -}} {{ ($item.Params.summary | default $item.Summary) | plainify | htmlUnescape | chomp -}}
</p> </p>
<p class="mt-2 text-gray-500 dark:text-gray-400"> <p class="mt-2 text-gray-500 dark:text-gray-400 text-sm">
{{- $item.Date | time.Format (site.Params.locale.date_format | default ":date_long") -}} {{- $item.Date | time.Format (site.Params.locale.date_format | default ":date_long") -}}
</p> </p>
</div> </div>