From ada77d704d59e1ebd48594c5a99d002b08bef864 Mon Sep 17 00:00:00 2001 From: elvistony Date: Thu, 27 Jul 2023 20:28:47 +0100 Subject: [PATCH] Added cookie consent --- _config.yml | 24 ++++++++-------- _includes/cookie.html | 66 +++++++++++++++++++++++++++++++++++++++++++ _layouts/default.html | 2 +- 3 files changed, 80 insertions(+), 12 deletions(-) create mode 100644 _includes/cookie.html diff --git a/_config.yml b/_config.yml index 347d934..15ee851 100644 --- a/_config.yml +++ b/_config.yml @@ -101,6 +101,7 @@ analytics: tracking_id : anonymize_ip : # true, false (default) +ganalytics: G-757Y2SND4F # Site Author author: @@ -112,13 +113,13 @@ author: links: - label: "Email" icon: "fas fa-fw fa-envelope-square" - # url: "mailto:langley@codeninjas.com" + url: "mailto:langley@codeninjas.com" - label: "Website" icon: "fas fa-fw fa-link" - # url: "https://codeninjas.com" + url: "https://codeninjas.com" - label: "Twitter" - icon: "fab fa-fw fa-twitter-square" - # url: "https://twitter.com/" + icon: "fa fa-fw fa-twitter-square" + url: "https://twitter.com/" # - label: "Facebook" # icon: "fab fa-fw fa-facebook-square" # # url: "https://facebook.com/" @@ -127,23 +128,24 @@ author: # # url: "https://github.com/" - label: "Instagram" icon: "fab fa-fw fa-instagram" - # url: "https://instagram.com/codeninjaslangley" + url: "https://instagram.com/codeninjaslangley" # Site Footer footer: links: - label: "Twitter" - icon: "fab fa-fw fa-twitter-square" + icon: "fab fa-fw fa-twitter" # url: - label: "Facebook" - icon: "fab fa-fw fa-facebook-square" + icon: "fab fa-fw fa-facebook" + url: "https://www.facebook.com/CodeNinjasLangley" - label: "Code Ninjas" - icon: "fab fa-fw fa-globe" + icon: "fa fa-fw fa-globe" url: "https://codeninjas.com" - - label: "Code Ninjas Langley" - icon: "fab fa-fw fa-youtube-play" + - label: "YouTube Channel" + icon: "fab fa-fw fa-youtube" url: "https://www.youtube.com/channel/UC_TJJk5_k-uc40hqWIViOAQ" # url: # - label: "GitHub" @@ -157,7 +159,7 @@ footer: # # url: - label: "Instagram" icon: "fab fa-fw fa-instagram" - # url: + url: "https://www.instagram.com/codeninjaslangley" # Reading Files diff --git a/_includes/cookie.html b/_includes/cookie.html new file mode 100644 index 0000000..c02c5dd --- /dev/null +++ b/_includes/cookie.html @@ -0,0 +1,66 @@ + + + + + + + + + + diff --git a/_layouts/default.html b/_layouts/default.html index fc6beea..61f9d70 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -36,6 +36,6 @@ {% include scripts.html %} - + {% include cookie.html %}