diff --git a/layouts/partials/css.html b/layouts/partials/css.html index 2bde76cab9..a55529844b 100644 --- a/layouts/partials/css.html +++ b/layouts/partials/css.html @@ -13,7 +13,6 @@ {{ end }} {{- end }} - {{- if .Site.Params.announcement }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index fa71b6a700..0383341d36 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -85,7 +85,6 @@ {{ end }} - {{ if .HasShortcode "mermaid" }} diff --git a/layouts/shortcodes/tabs.html b/layouts/shortcodes/tabs.html index 7abe6c14e8..aeb9582b28 100644 --- a/layouts/shortcodes/tabs.html +++ b/layouts/shortcodes/tabs.html @@ -2,16 +2,25 @@ {{- $tab_set_id := .Get "name" | default (printf "tabset-%s-%d" (.Page.RelPermalink) (.Page.Scratch.Get "tabset-counter") ) | anchorize -}} {{- $tabs := .Scratch.Get "tabs" -}} {{- if .Inner -}}{{- /* We don't use the inner content, but Hugo will complain if we don't reference it. */ -}}{{- end -}} -
-