diff --git a/layouts/partials/article/components/details.html b/layouts/partials/article/components/details.html
index fd053a8..016e9d6 100644
--- a/layouts/partials/article/components/details.html
+++ b/layouts/partials/article/components/details.html
@@ -1,16 +1,18 @@
{{ $image := partialCached "helper/image" (dict "Context" . "Type" "article") .RelPermalink "article" }}
-{{ $context := . }}
+{{- $context := . -}}
+{{- $categories := .Params.categories -}}
- {{ with $categories := .Params.categories }}
+ {{ if $categories }}
- {{ range $categories }}
+ {{ range $category := $categories }}
+ {{ $term := $.Site.GetPage (printf "/categories/%s" $category) }}
{{ if and $image.exists $image.resource }}
{{- $imageRaw := $image.resource | resources.Fingerprint "md5" -}}
{{- $20x := $imageRaw.Fill "20x20 smart" -}}
- {{ . | humanize }}
+ {{ $term.Title | humanize }}
{{ else }}
- {{ . | humanize }}
+ {{ $term.Title | humanize }}
{{ end }}
{{ end }}
diff --git a/layouts/partials/article/components/footer.html b/layouts/partials/article/components/footer.html
index 102bc4a..3431c81 100644
--- a/layouts/partials/article/components/footer.html
+++ b/layouts/partials/article/components/footer.html
@@ -1,11 +1,5 @@