diff --git a/layouts/blog/list.html b/layouts/blog/list.html index f8cd8ce..c6d24c2 100644 --- a/layouts/blog/list.html +++ b/layouts/blog/list.html @@ -31,15 +31,11 @@

{{ .Title }}

- {{ $tag_count := 0 }} {{ range .Params.tags }} - {{ if lt $tag_count 2 }} {{ $name := . }} {{ with $.Site.GetPage (printf "/tags/%s" (. | urlize)) }} #{{ $name }} {{ end }} - {{ $tag_count = add $tag_count 1 }} - {{ end }} {{ end }}

diff --git a/layouts/tags/list.html b/layouts/tags/list.html index 4d734ca..95853fb 100644 --- a/layouts/tags/list.html +++ b/layouts/tags/list.html @@ -2,32 +2,9 @@ {{ partial "header.html" . }}
-

Here you'll find {{ len .Pages | lang.FormatNumber 0 }} post{{if gt (len .Pages) 1}}s{{end}} - about {{ .Title }}.

- - - {{ $tagKey := .Title | urlize }} - {{ with index .Site.Data.wikidata_mappings $tagKey }} -
- {{ if eq (len .entities) 1 }} - {{ $entity := index .entities 0 }} -

- Same as {{ $entity.id }}, {{ $entity.description }}. -

- {{ else }} -

These posts may refer to:

-
    - {{ range .entities }} -
  • - {{ .id }} – {{ .description }} -
  • - {{ end }} -
- {{ end }} + Here you'll find {{ len .Pages | lang.FormatNumber 0 }} posts + about {{ .Title }} .
- {{ end }} -
-
{{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "2006"}} @@ -42,4 +19,4 @@ {{ end }}
-{{ end }} \ No newline at end of file +{{ end }}