diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/baseof.html | 4 | ||||
-rw-r--r-- | layouts/_default/list.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index be7e066..b8e5c58 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -48,7 +48,7 @@ {{ $section_class = "site-info" }} {{ else if in .Page.Params.category "bsd" }} {{ $section_class = "bsd" }} - {{ else if in .Page.Params.category "blog" }} + {{ else if in .Page.Params.categories "blog" }} {{ $section_class = "blog" }} {{ else if in .Page.Params.categories "article" }} {{ $section_class = "article" }} @@ -64,7 +64,7 @@ {{ else if in .Page.Params.categories "star-trek" }} {{ $logo := resources.Get "logos/logo-startrek-white.svg" }} <img src="{{$logo.RelPermalink}}" class="stbadge"> - {{ else if in .Page.Params.category "blog" }} + {{ else if in .Page.Params.categories "blog" }} {{ $logo := resources.Get "logos/logo-blog-white.svg" }} <img src="{{$logo.RelPermalink}}" class="blogicon"> {{ else if in .Page.Params.categories "article" }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 433233e..827bdc9 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,6 +1,6 @@ {{ define "main" }} - {{ if in .Page.Params.Category "blog" }} + {{ if in .Page.Params.Categories "blog" }} {{ partial "partials/blog_index.html" . }} {{ else if in .Page.Params.Categories "article" }} {{ partial "partials/article_index.html" . }} |