mirror of https://github.com/jlelse/GoBlog
16 lines
355 B
Plaintext
16 lines
355 B
Plaintext
{{ define "title" }}
|
|
<title>{{ blog.Title }}</title>
|
|
{{ end }}
|
|
|
|
{{ define "main" }}
|
|
<main>
|
|
<ul>
|
|
{{ $taxonomy := .Taxonomy }}
|
|
{{ range $i, $value := .TaxonomyValues }}<li><a href="/{{ $taxonomy }}/{{ . }}">{{ . }}</a></li>{{ end }}
|
|
</ul>
|
|
</main>
|
|
{{ end }}
|
|
|
|
{{ define "taxonomy" }}
|
|
{{ template "base" . }}
|
|
{{ end }} |