blog-static/themes/vanilla/layouts/blog/single.html

22 lines
507 B
HTML

{{ define "main" }}
<h2>{{ .Title }}</h2>
<div class="post-subscript">
<p>
{{ range .Params.tags }}
<a class="button" href="{{ $.Site.BaseURL }}/tags/{{ . | urlize }}">{{ . }}</a>
{{ end }}
</p>
<p>Posted on {{ .Date.Format "January 2, 2006" }}.</p>
</div>
<div class="post-content">
<div class="table-of-contents">
<div>
<em>Table of Contents</em>
{{ .TableOfContents }}
</div>
</div>
{{ .Content }}
</div>
{{ end }}