From 0a11ce6c40cb485c1288c58bd825a7619d260290 Mon Sep 17 00:00:00 2001 From: Frank Tegtmeyer Date: Wed, 9 Nov 2016 13:28:49 +0100 Subject: [PATCH] use cookie consent version 3 --- exampleSite/config.toml | 5 ++--- layouts/_default/baseof.html | 2 +- layouts/partials/cookie_consent.html | 22 ++++++++++++++++++---- 3 files changed, 21 insertions(+), 8 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 8c40be4..5adb85d 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -45,9 +45,8 @@ paginate = 5 # Cookie consent (may be required for your site in the European Union) # Set the "more info" URL in this parameter. You have to - # provide a document page for this URL - see the example website - # To avoid a menu entry for this information page add it to - # content/info instead of content/page or content. + # provide a document page for this URL if you don't use an external URL - + # see the example website # cookie_consent_info_url = "/cookie-information/" [params.sidebar] diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 81494aa..74e4894 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -28,7 +28,7 @@
diff --git a/layouts/partials/cookie_consent.html b/layouts/partials/cookie_consent.html index 3241a45..bc5fe09 100644 --- a/layouts/partials/cookie_consent.html +++ b/layouts/partials/cookie_consent.html @@ -1,5 +1,19 @@ - + - -