Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/azmelanar/hugo-theme-pixyll.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorImran M Yousuf <imyousuf@gmail.com>2020-01-02 23:19:43 +0300
committerImran M Yousuf <imyousuf@gmail.com>2020-01-02 23:19:43 +0300
commitfdd4e6ebe6088b6f9452961c92df24d3a5853aa7 (patch)
tree04624edc3c18ce76ef6ca0dc3df200d0d7a852a2
parentc25f5926822563d937b9df95be482fc5ed779b7c (diff)
Fix listing pages for a specific tag
Iterating over the pages of a tag instead of all the regular pages across the site. Signed-off-by: Imran M Yousuf <imyousuf@gmail.com>
-rw-r--r--layouts/tag/tag.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/tag/tag.html b/layouts/tag/tag.html
index a1c58d8..7aefd32 100644
--- a/layouts/tag/tag.html
+++ b/layouts/tag/tag.html
@@ -5,7 +5,7 @@
<div class="measure">
<p>Tag: {{ .Title | lower }}</p>
<ul>
- {{ range .Site.RegularPages.ByDate.Reverse }}
+ {{ range .Pages.ByDate.Reverse }}
<li><a href="{{ .Permalink}}"> {{ .LinkTitle }} </a></li>
{{ end }}
</ul>