diff options
author | Thibaud Lepretre <thibaud.lepretre@gmail.com> | 2020-03-29 14:37:48 +0300 |
---|---|---|
committer | Thibaud Lepretre <thibaud.lepretre@gmail.com> | 2021-08-11 15:02:35 +0300 |
commit | 7a962f4f4d078afa31132f8f9b47206c5f8753a3 (patch) | |
tree | 2b1a12587676daebe4fd2af5525c77ef92137675 /layouts/taxonomy/tag.html | |
parent | a2b8b6c6b6e6c3fe90be234461a8101a8a2f3556 (diff) |
Rename post to posts
To stick official organization https://gohugo.io/content-management/organization/
fixes #374
Diffstat (limited to 'layouts/taxonomy/tag.html')
-rw-r--r-- | layouts/taxonomy/tag.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/taxonomy/tag.html b/layouts/taxonomy/tag.html index 9d9d9f3..6438b92 100644 --- a/layouts/taxonomy/tag.html +++ b/layouts/taxonomy/tag.html @@ -12,7 +12,7 @@ {{ with .Params.coverCaption }}hasCoverCaption{{ end }}"> {{ if or (not (isset .Site.Params "tagPagination")) (.Site.Params.tagPagination) }} <section class="postShorten-group main-content-wrap"> - {{ $paginator := .Paginate (where .Data.Pages "Type" "post") }} + {{ $paginator := .Paginate (where .Data.Pages "Type" "posts") }} {{ range $paginator.Pages }} {{ .Render "summary" }} {{ end }} @@ -23,7 +23,7 @@ <form id="filter-form" action="#"> <input name="date" type="text" class="form-control input--xlarge" placeholder="{{ i18n "global.search_date" }}" autofocus="autofocus"> </form> - {{ partial "archive-post.html" (where .Data.Pages "Type" "post") }} + {{ partial "archive-post.html" (where .Data.Pages "Type" "posts") }} </div> {{ end }} {{ partial "footer.html" . }} |