We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c93dac commit d99e979Copy full SHA for d99e979
layouts/list.html
@@ -21,7 +21,7 @@
21
<a
22
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"
23
href="{{ or .Params.permalink .RelPermalink }}">
24
- {{ if .Params.show_publish_date }}
+ {{ if or .Params.show_publish_date (eq .Section "news") }}
25
{{ with .PublishDate }}
26
<p
27
class="text-gray-500 dark:text-gray-400 text-sm/5 md:text-base/2 mb-2 sm:mb-4">
0 commit comments