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

22 lines
507 B
HTML
Raw Normal View History

2019-08-02 22:53:52 -07:00
{{ define "main" }}
<h2>{{ .Title }}</h2>
<div class="post-subscript">
2020-05-04 03:23:55 -07:00
<p>
2019-08-02 22:53:52 -07:00
{{ range .Params.tags }}
<a class="button" href="{{ $.Site.BaseURL }}/tags/{{ . | urlize }}">{{ . }}</a>
{{ end }}
</p>
2020-05-04 03:23:55 -07:00
<p>Posted on {{ .Date.Format "January 2, 2006" }}.</p>
2019-08-02 22:53:52 -07:00
</div>
<div class="post-content">
2020-06-24 22:46:22 -07:00
<div class="table-of-contents">
<div>
<em>Table of Contents</em>
{{ .TableOfContents }}
</div>
</div>
2019-08-02 22:53:52 -07:00
{{ .Content }}
</div>
{{ end }}