26 lines
420 B
HTML
26 lines
420 B
HTML
{{ 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") ", " }}
|
|
</p>
|
|
</article>
|
|
{{ end }}
|