#66, add taxonomy support

This commit is contained in:
Alex Shpak
2019-12-19 17:22:12 +01:00
parent f5a52e6ed1
commit d6290dcf50
11 changed files with 87 additions and 24 deletions
+8 -11
View File
@@ -1,16 +1,13 @@
{{ define "main" }}
{{ $dateFormat := default "January 2, 2006" .Site.Params.BookDateFormat }}
<header class="markdown">
<h1>{{ .Title }}</h1>
{{ with .Date }}
<h5>
<strong>{{ .Format $dateFormat }}</strong>
</h5>
{{ end }}
</header>
<article class="markdown">
<article class="markdown">
<h1>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</h1>
{{ partial "docs/post-meta" . }}
<p>
{{- .Content -}}
</article>
</p>
</article>
{{ end }}
{{ define "toc" }}