diff options
author | Mehedi Sharif Titas <mehedishariftitas@gmail.com> | 2020-03-30 00:15:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-30 00:15:11 +0300 |
commit | a7934a337abdaf59361ede7886b3bd0369499cc6 (patch) | |
tree | 17f9ae4f60683b8eaa78c294fadd333df9e5cd03 | |
parent | 8230b60d30b7d994fe0e00463297c48ba3da2956 (diff) | |
parent | 02a010f20ac95ddf3e2c55e130478710c66bb5df (diff) |
Merge pull request #15 from robsonsobral/master
Add `params.customHead` config
-rw-r--r-- | exampleSite/config.toml | 3 | ||||
-rw-r--r-- | layouts/partials/header.html | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 7d88f15..b83c95d 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -5,6 +5,9 @@ theme = "infinity-hugo" removePathAccents = true [params] +# HTML before the closing </head> +customHead = "" + # Navigation [params.navigation] logo = "images/logo.png" diff --git a/layouts/partials/header.html b/layouts/partials/header.html index c0d3dda..4bb8a24 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -18,6 +18,8 @@ <link rel="stylesheet" href="{{ `css/style.css` | absURL }}"> {{"<!-- Responsive Stylesheet -->" | safeHTML }} <link rel="stylesheet" href="{{ `css/responsive.css` | absURL }}"> + + {{ $.Site.Params.customHead | safeHTML }} </head> <body id="body">
\ No newline at end of file |