Skip to content
Snippets Groups Projects
Commit 80c95c31 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

category body class

parent 4c2b2145
No related branches found
No related tags found
No related merge requests found
...@@ -10,4 +10,8 @@ ...@@ -10,4 +10,8 @@
{{ $bodyclass = printf "%s offcanvas-toc" $bodyclass }} {{ $bodyclass = printf "%s offcanvas-toc" $bodyclass }}
{{ end }} {{ end }}
{{ range .Params.categories }}
{{ $bodyclass = printf "%s category--%s" $bodyclass . }}
{{ end }}
{{ return $bodyclass }} {{ return $bodyclass }}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment