feature: hidding date in the home page
This commit is contained in:
parent
125a569697
commit
9bcd2650ae
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
<div class="flex sm:flex-col my-5 sm:mb-6 sm:mt-3">
|
<div class="flex sm:flex-col my-5 sm:mb-6 sm:mt-3">
|
||||||
{{ if .Params.displayDate }}
|
{{ if .Site.Params.displayDate }}
|
||||||
<div class="min-w-32 sm:mb-2 sm:text-sm">{{ dateFormat .Site.Params.timeformat .Date }}</div>
|
<div class="min-w-32 sm:mb-2 sm:text-sm">{{ dateFormat .Site.Params.timeformat .Date }}</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<a class="self-start" href="{{ .RelPermalink }}">{{ .Title }}</a>
|
<a class="self-start" href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||||
|
|
Loading…
Reference in a new issue