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

gitlab.com/toryanderson/hugo-icarus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/widgets/categories.html')
-rw-r--r--layouts/partials/widgets/categories.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/widgets/categories.html b/layouts/partials/widgets/categories.html
index 99947b3..566a2ae 100644
--- a/layouts/partials/widgets/categories.html
+++ b/layouts/partials/widgets/categories.html
@@ -1,4 +1,5 @@
{{ if .Site.Params.widgets.categories }}
+{{ if isset .Site.Taxonomies "categories" }}
{{ if not (eq (len .Site.Taxonomies.categories) 0) }}
<div class="widget-wrap">
<h3 class="widget-title">{{with .Site.Data.l10n.widgets.categories.title}}{{.}}{{end}}</h3>
@@ -17,3 +18,4 @@
</div>
{{ end }}
{{ end }}
+{{ end }} \ No newline at end of file