From: Dan Allen Date: Tue, 6 Feb 2018 08:35:31 +0000 (-0700) Subject: split head partial X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=201a860a1a2910340287d5d29faf20c7613b9341;p=working%2Feg-antora.git split head partial - split head partial into head-meta and head-scripts - consolidate gtags script --- diff --git a/src/partials/head-meta.hbs b/src/partials/head-meta.hbs new file mode 100644 index 0000000..541516c --- /dev/null +++ b/src/partials/head-meta.hbs @@ -0,0 +1 @@ +{{! Add additional meta tags here}} diff --git a/src/partials/head-scripts.hbs b/src/partials/head-scripts.hbs new file mode 100644 index 0000000..9e7c6ce --- /dev/null +++ b/src/partials/head-scripts.hbs @@ -0,0 +1,6 @@ +{{#if site.keys.googleAnalytics}} +{{#with site.keys.googleAnalytics}} + + +{{/with}} +{{/if}} diff --git a/src/partials/head.hbs b/src/partials/head.hbs index e64c140..b4ee621 100644 --- a/src/partials/head.hbs +++ b/src/partials/head.hbs @@ -1,9 +1,2 @@ -{{#if site.keys.googleAnalytics}} - - -{{/if}} +{{> head-meta}} +{{> head-scripts}}