From e84e0c0b7552bbaee7f33a22d280489faf3daf44 Mon Sep 17 00:00:00 2001 From: Karen Bradshaw Date: Tue, 29 Sep 2020 18:08:12 -0400 Subject: [PATCH] update tab component, remove jquery-ui --- layouts/partials/css.html | 1 - layouts/partials/head.html | 1 - layouts/shortcodes/tabs.html | 19 +++++++++++++------ static/css/jquery-ui.min.css | 7 ------- static/js/jquery-ui-1.12.1.min.js | 13 ------------- 5 files changed, 13 insertions(+), 28 deletions(-) delete mode 100644 static/css/jquery-ui.min.css delete mode 100644 static/js/jquery-ui-1.12.1.min.js 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 -}} -
-