diff options
Diffstat (limited to 'themes/default/layouts/_default/home.archive-tags.html')
-rw-r--r-- | themes/default/layouts/_default/home.archive-tags.html | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/themes/default/layouts/_default/home.archive-tags.html b/themes/default/layouts/_default/home.archive-tags.html deleted file mode 100644 index 7fec925..0000000 --- a/themes/default/layouts/_default/home.archive-tags.html +++ /dev/null @@ -1,56 +0,0 @@ -{{ define "title" }}Tags Archive — {{ end }} -{{ define "description" }}This page contains an archive of all tags — {{ end }} -{{ define "styles" }} -<style> - {{ partial "styles-navigator.html" (dict "Link" "/archives/tags/") | safeCSS }} -</style> -{{ end }} - -{{ define "middle" }} - -{{ partial "navigator-middle.html" - (dict - "Title" "Records" - "Subtitle" (partial "count-tags.html" .) - "Icon" "arrow-left" - "IconLabel" "Back" - "Href" "/" - "Id" "back" - "Context" . - ) -}} - -{{- $page := 1 -}} -{{- $count := 0 -}} - -<item-list> - {{ range $taxonomy := .Site.Taxonomies }} - {{ range $tag, $article := $taxonomy }} - <h1><a href="{{ $.Site.BaseURL }}/tags/{{ $tag }}/">#{{ $tag }}</a></h1> - <ul> - {{ range $article.Pages -}} - {{- $count = add $count 1 -}} - <li> - <a - title="{{ partial "title.html" . }}" - href="{{ .Site.BaseURL }}/tags/{{ $tag }}/{{ if gt $page 1 }}page/{{ $page }}/{{ end }}#{{ partial "card-id.html" . }}"> - <span><code>{{ .Date.Format "02 Jan 2006" }}</code></span> - <span>{{ partial "title.html" . }}</span> - <span>@{{ partial "author-user.html" . }}</span> - </a> - </li> - {{ if eq (mod $count $.Paginator.PageSize) 0 }} - {{ $page = add $page 1 }} - {{- end -}} - {{- end -}} - {{- $page = 1 -}} - {{- $count = 0 -}} - </ul> - {{ end }} - {{ end }} -</item-list> -{{ end }} - -{{ define "right" }} - {{- partial "navigator-right-default.html" . -}} -{{ end }} |