lumbung-theme/layouts/_default/single.html

17 lines
521 B
HTML
Raw Normal View History

2021-07-08 10:42:38 +02:00
{{ define "main" }}
<main class="main">
<article class="h-entry">
<header>
<h1 class="p-name"><a href="{{ .Permalink }}" class="u-url">{{ .Title }}</a></h1>
<p>
Published by <a class="p-author" href="/about">{{ $.Param "author" }}</a>
on <time class="dt-published" datetime="{{ .Date.Format `Jan 02 2006` }}">{{ .Date.Format "Jan 02, 2006" }}</time>
</p>
<div class="e-content">
{{ .Content }}
</div>
</article>
</main>
{{ end }}