blog/layouts/_default/single.html

27 lines
420 B
HTML
Raw Normal View History

2023-05-29 21:37:18 +00:00
{{ define "main" }}
<article>
<h1>
{{ .Title }}
</h1>
<p class="subtitle">
{{ .Description }}
</p>
<p class="publication-time">
{{ $dateTime := .PublishDate.Format "2006-01-02" }}
<time datetime="{{ $dateTime }}">
{{ $dateTime }}
</time>
</p>
<div id="content">
{{ .Content }}
</div>
<p class="authors">
{{ delimit ($.Param "authors") ", " }}
2023-05-29 21:37:18 +00:00
</p>
</article>
{{ end }}