diff options
author | James Tharpe <james@brainbytescreative.com> | 2017-09-18 14:54:26 +0300 |
---|---|---|
committer | James Tharpe <james@brainbytescreative.com> | 2017-09-18 14:54:26 +0300 |
commit | 5f97cdd1d89b8dba198abd1e1e90e4a2221100c8 (patch) | |
tree | fa9e829b706e61f31303e5dc7b1722b4bd4563db | |
parent | 6082ea0a59574c147d8385dcce7e99f1be0fc715 (diff) |
Adds a 'fill in the blank' space to inject code by opening body tag. Can be used to install Google Analytics
-rw-r--r-- | layouts/partials/body-open.html | 2 | ||||
-rw-r--r-- | layouts/partials/header.html | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/body-open.html b/layouts/partials/body-open.html new file mode 100644 index 0000000..11b798a --- /dev/null +++ b/layouts/partials/body-open.html @@ -0,0 +1,2 @@ + <!-- Intentionally left empty. Override this partial in your website to insert code just after the + opening <body> tag. For example, to install Google Analytics. -->
\ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 5db3b6b..8955e3d 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -12,7 +12,7 @@ </head> <body> - + {{ partial "body-open" . }} <nav class="navbar navbar-default navbar-fixed-top"> <div class="container"> |