17 lines
No EOL
581 B
HTML
17 lines
No EOL
581 B
HTML
<div>
|
|
<div class="flex justify-between items-start">
|
|
{{ if .Page.Params.link }}
|
|
<a class="text-lg font-bold" href="{{ .Page.Params.link }}">{{ .Title }}</a>
|
|
{{ else }}
|
|
<a class="text-lg font-bold" href="{{ .RelPermalink }}">{{ .Title }}</a>
|
|
{{ end }}
|
|
{{ if .Site.Params.displayDate }}
|
|
<div class="text-sm font-bold whitespace-nowrap">{{ .Date | time.Format (T "timeformat") }}</div>
|
|
{{ end }}
|
|
</div>
|
|
{{ if .Site.Params.displayDescription }}
|
|
<p class="text-base mb-2">
|
|
{{ .Description | markdownify | safeHTML }}
|
|
</p>
|
|
{{ end }}
|
|
</div> |