gallowelds.com/themes/blist/layouts/_default/single.html

22 lines
855 B
HTML

{{ define "main" }}
{{ $lastmodstr := (partial "date.html" (dict "date" .Lastmod "language" $.Page.Language "format" "long")) }}
{{ $datestr := (partial "date.html" (dict "date" .Date "language" $.Page.Language "format" "long")) }}
<section class="flex flex-col md:flex-row" >
{{ if (and .Params.thumbnail (not (or .Site.Params.hidePageThumbnail .Params.hidePageThumbnail)) ) }}
<div class="relative px-4">
<img src="{{ .Params.thumbnail }}" class="min-w-64 rounded-lg shadow-sm w-full object-contain" />
</div>
{{ end }}
<article class="prose lg:prose-lg dark:prose-dark">
<h1 class="text-2xl font-bold mb-2">{{ .Title }}</h1>
{{ if not (or (or .Site.Params.hideMeta .Params.hideMeta) false) }}
<h5 class="text-sm flex items-center flex-wrap">
</h5>
{{ end }}
{{ .Content }}
</article>
</section>
{{ end }}