diff --git a/.prettierignore b/.prettierignore index 694b1bf2..b243ca55 100644 --- a/.prettierignore +++ b/.prettierignore @@ -31,7 +31,6 @@ layouts/_default/list.html layouts/partials/article-link/card-related.html layouts/partials/article-link/card.html layouts/partials/article-link/simple.html -layouts/partials/header/basic.html layouts/partials/hero/background.html layouts/partials/head.html layouts/shortcodes/screenshot.html diff --git a/layouts/partials/header/basic.html b/layouts/partials/header/basic.html index b829f197..a4b92bcd 100644 --- a/layouts/partials/header/basic.html +++ b/layouts/partials/header/basic.html @@ -1,197 +1,209 @@ {{/* Logo section */}} {{ define "HeaderLogo" }} - {{ if .Site.Params.Logo }} + {{ if .Site.Params.Logo }} {{ $logo := resources.Get .Site.Params.Logo }} {{ if $logo }} -
{{ end }} - {{- end }} + {{- end }} {{ end }} {{/* Desktop navigation */}} {{ define "HeaderDesktopNavigation" }} - {{ end }} {{/* Mobile navigation */}} {{ define "HeaderMobileNavigation" }} -