summaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/article_index.html2
-rw-r--r--layouts/partials/back_nav.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/article_index.html b/layouts/partials/article_index.html
index 77d6db86..2fd2837d 100644
--- a/layouts/partials/article_index.html
+++ b/layouts/partials/article_index.html
@@ -1,6 +1,6 @@
{{ .Page.Content }}
{{- $article_category := slice "article" }}
-{{- range (where .Site.RegularPages ".Params.category" "intersect" $article_category) }}
+{{- range (where .Site.RegularPages ".Params.categories" "intersect" $article_category) }}
{{- partial "partials/article_list_abstract_item.html" . }}
{{- end }}
diff --git a/layouts/partials/back_nav.html b/layouts/partials/back_nav.html
index f4d26ccf..ccc520f4 100644
--- a/layouts/partials/back_nav.html
+++ b/layouts/partials/back_nav.html
@@ -10,7 +10,7 @@
<a href="/bsd/">&larr; Back to Daemonic BSD Site</a>
{{- else if in .Page.Params.Category "blog" }}
<a href="/blog/">&larr; Back to Michal's blog</a>
-{{- else if in .Page.Params.Category "article" }}
+{{- else if in .Page.Params.Categories "article" }}
<a href="/articles/">&larr; Back to Article Library</a>
{{- end }}
{{- if not .Page.Params.hardback }}