diff options
Diffstat (limited to 'themes/itheme/layouts/taxonomy')
| -rw-r--r-- | themes/itheme/layouts/taxonomy/list.html | 13 | ||||
| -rw-r--r-- | themes/itheme/layouts/taxonomy/terms.html | 15 |
2 files changed, 28 insertions, 0 deletions
diff --git a/themes/itheme/layouts/taxonomy/list.html b/themes/itheme/layouts/taxonomy/list.html new file mode 100644 index 0000000..9813909 --- /dev/null +++ b/themes/itheme/layouts/taxonomy/list.html @@ -0,0 +1,13 @@ +{{ define "main" }} +<div class="results"> + <div class="results__content"> + <div class="result" role="group"> + <h2 class="result__title">“{{ .Title }}”</h2> + {{ range .Pages }} + {{ partial "archiveItem.html" (dict "context" .) }} + {{ end }} + </div> + </div> +</div> + +{{ end }}
\ No newline at end of file diff --git a/themes/itheme/layouts/taxonomy/terms.html b/themes/itheme/layouts/taxonomy/terms.html new file mode 100644 index 0000000..a3844db --- /dev/null +++ b/themes/itheme/layouts/taxonomy/terms.html @@ -0,0 +1,15 @@ +{{ define "main" }} +<div class="results"> + <div class="results__content"> + <div class="result" role="group"> + <h2 class="result__title">“{{ i18n "allTags" }}”</h2> + <div class="tags-list"> + {{ range .Pages }} + <a href="/tags/{{.Title | urlize}}">{{ .Title }} ({{ len .Pages}}) </a> + {{ end }} + </div> + </div> + </div> +</div> + +{{ end }}
\ No newline at end of file |
