blog/layouts/posts/single.html
2020-11-03 17:27:16 -06:00

20 lines
332 B
HTML

{{- define "content" -}}
<a href="../">&laquo; back</a>
<h1 style="margin: 0;">{{ .Title }}</h1>
<small style="display: block; margin-bottom: 20px;">
Posted
on {{ partial "rel-date" .Date }}
- {{ .ReadingTime }} min read
</small>
<div id="content">{{ .Content }}</div>
<hr />
<small>
End.
</small>
{{- end -}}