Revert "theme: Display date on news items from content adapter"

This reverts commit d99e979d4e8ef01f337f729aa6b08498ddcc43f6.

This is not needed with Hugo 0.147.6.
This commit is contained in:
Bjørn Erik Pedersen 2025-05-27 13:05:43 +02:00
parent 43b35e56a9
commit 0259b88f1b
No known key found for this signature in database

View File

@ -21,7 +21,7 @@
<a
class="flex col-span-1 a--block cursor-pointer flex-col group border p-3 sm:p-4 hover:shadow-md dark:shadow-slate-800 border-gray-300 dark:border-gray-800 m-0"
href="{{ or .Params.permalink .RelPermalink }}">
{{ if or .Params.show_publish_date (eq .Section "news") }}
{{ if .Params.show_publish_date }}
{{ with .PublishDate }}
<p
class="text-gray-500 dark:text-gray-400 text-sm/5 md:text-base/2 mb-2 sm:mb-4">