diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index ff6aa3787..b6587633b 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -10,8 +10,8 @@
{{ end }}
{{ $t := debug.Timer "single.categories" }}
- {{ $tags := .GetTerms "categories" }}
- {{ with $tags }}
+ {{ $categories := .GetTerms "categories" }}
+ {{ with $categories }}
{{ range . }}
{{ $text := .LinkTitle }}
diff --git a/layouts/partials/layouts/breadcrumbs.html b/layouts/partials/layouts/breadcrumbs.html
index 93f9f62f1..202b9b9fa 100644
--- a/layouts/partials/layouts/breadcrumbs.html
+++ b/layouts/partials/layouts/breadcrumbs.html
@@ -1,17 +1,21 @@
{{ $documentation := site.GetPage "/documentation" }}
-