diff --git a/config/_default/params.toml b/config/_default/params.toml index 12d1bdc..81c585b 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -16,8 +16,8 @@ label_drafts = true # Add a label indicator next to the title of any built draft # Customize newsletter text newsletter_header = "PLCT Lab" newsletter_description = "This is my custom newsletter description that tells you why you should sign up." -newsletter_submit = "Join now" -global_newsletter = false # Enable newsletter site-wide +newsletter_submit = "Subscribe" +global_newsletter = true # Enable newsletter site-wide # CSS / JavaScript enable_postcss = false # Enable if you're using npm and want to utilize PostCSS processing diff --git a/data/consent.yaml b/data/consent.yaml new file mode 100644 index 0000000..e9fdb75 --- /dev/null +++ b/data/consent.yaml @@ -0,0 +1,5 @@ +items: + - title: Google Anaytics (functional) + description: This code gives us insight into the number of people that visit our website, where they are from and what they are clicking on. We follow the guidelines of the Dutch Government, which describe how to use Google Analytics without requiring explicit consent. + is_functional: true + script_file: ga.js diff --git a/static/js/ga.js b/static/js/ga.js new file mode 100644 index 0000000..dd18cb7 --- /dev/null +++ b/static/js/ga.js @@ -0,0 +1,10 @@ + + + + \ No newline at end of file diff --git a/themes/hugo-liftoff b/themes/hugo-liftoff index 25f1592..3e90236 160000 --- a/themes/hugo-liftoff +++ b/themes/hugo-liftoff @@ -1 +1 @@ -Subproject commit 25f1592f91fb1e8b69229573b13f6bbf4be0b1bc +Subproject commit 3e90236f7d1801dd2eeb5dca6dbaeba38d36adb4