diff --git a/layouts/partials/default.html b/layouts/partials/default.html index db653b5..142f401 100644 --- a/layouts/partials/default.html +++ b/layouts/partials/default.html @@ -80,8 +80,12 @@ {{ $currentNode := .currentnode }} {{with .sect}} {{safeHTML .Params.head}} +{{ $fileUniqueID := "" }} +{{ with .File }}{{ $fileUniqueID = .UniqueID }}{{ end }} +{{ $currentNodeFileUniqueID := "" }} +{{ with $currentNode.File }}{{ $currentNodeFileUniqueID = .UniqueID }}{{ end }}