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

github.com/wlh320/hugo-theme-hulga.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/posts.html')
-rw-r--r--layouts/partials/posts.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/posts.html b/layouts/partials/posts.html
index 6b3aed5..e9bf35d 100644
--- a/layouts/partials/posts.html
+++ b/layouts/partials/posts.html
@@ -5,7 +5,7 @@
<div class="columns">
<div class="column is-8">
<div class="post-lists">
- {{ $paginator := .Paginate (where .Data.Pages "Type" "post") }}
+ {{ $paginator := .Paginate (where (where .Site.Pages "Type" "post") "Kind" "page") }}
{{ range $paginator.Pages }}
<div class="box post-box">
{{ with .Params.Tags }}
@@ -74,7 +74,7 @@
<div class="control">
<div class="tags has-addons">
<a class="tag" href="{{ "/tags/" | relLangURL }}{{ .Name | urlize }}/">{{ .Name }}</a>
- <span class="tag">
+ <span class="tag counter-tag">
{{ .Count }}
</span>
</div>