breaking change in configuration

This commit is contained in:
Mivinci 2022-11-08 23:10:57 +08:00
parent f1b32bd47e
commit 0ca65fbca5
20 changed files with 373 additions and 361 deletions

View file

@ -1,16 +1,16 @@
<div>
<div class="flex justify-between">
{{ if .Page.Params.link }}
<a class="font-bold" href="{{ .Page.Params.link }}">{{ .Title }}</a>
<a class="text-lg font-bold" href="{{ .Page.Params.link }}">{{ .Title }}</a>
{{ else }}
<a class="font-bold" href="{{ .RelPermalink }}">{{ .Title }}</a>
<a class="text-lg font-bold" href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ end }}
{{ if .Site.Params.displayDate }}
<div class="text-xs font-bold">{{ dateFormat .Site.Params.timeformat .Date }}</div>
<div class="text-sm font-bold">{{ .Date | time.Format (T "timeformat") }}</div>
{{ end }}
</div>
{{ if .Site.Params.displayDescription }}
<p class="text-sm mb-2">
<p class="text-base mb-2">
{{ .Description | markdownify | safeHTML }}
</p>
{{ end }}