blog/layouts/posts/single.html
2021-05-04 07:02:15 -05:00

20 lines
353 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" class="post-content">{{ .Content }}</div>
<hr />
<small>
End.
</small>
{{- end -}}