mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
Revert "theme: Display date on news items from content adapter"
This reverts commit d99e979d4e.
This is not needed with Hugo 0.147.6.
This commit is contained in:
+1
-1
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user