0
0
Fork 0
zblog/templates/content.html

15 lines
393 B
HTML

{{ template "header.html" . }}
<main>
<h1>{{ .Title }}</h1>
<aside>{{ if .Author }}by
<a href="/author/{{ .Author }}" class="author">{{ .Author }}</a>
- {{ end }}from
<span class="date">{{ formatTime .Date }}</span>
</aside>
{{ .Content }}
</main>
<footer>
<a href="#top">top</a>
</footer>
{{ template "footer.html" . }}