diff --git a/layouts/partials/hooks/head-end.html b/layouts/partials/hooks/head-end.html index e69de29bb..19a7739cb 100644 --- a/layouts/partials/hooks/head-end.html +++ b/layouts/partials/hooks/head-end.html @@ -0,0 +1,8 @@ +{{- $currentPage := . -}} +{{- range site.Menus.main -}} + {{- if $currentPage.IsMenuCurrent .Menu . -}} + + {{- else if $currentPage.HasMenuCurrent .Menu . -}} + + {{- end -}} +{{- end -}} \ No newline at end of file