From 879ea7791bb6249c5dfa08374c66f4ad48d7873a Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Mon, 15 Mar 2021 21:18:42 +1000 Subject: [PATCH] Removed social icons for now and added CloudFlare analytics back --- config.toml | 26 +++++++++++++------------- layouts/partials/footer.html | 18 ++++++++++++++++++ 2 files changed, 31 insertions(+), 13 deletions(-) create mode 100644 layouts/partials/footer.html diff --git a/config.toml b/config.toml index ff6f5a1..808109b 100644 --- a/config.toml +++ b/config.toml @@ -52,25 +52,25 @@ use = "katex" # options: "katex", "mathjax". default is "katex". ## Social links # use 'fab' when brand icons, use 'fas' when standard solid icons. -[[params.socialIcons]] -icon = "fab fa-linkedin" -title = "Linkedin" -url = "https://de.linkedin.com/" +#[[params.socialIcons]] +#icon = "fab fa-linkedin" +#title = "Linkedin" +#url = "https://de.linkedin.com/" [[params.socialIcons]] icon = "fab fa-github" title = "GitHub" -url = "https://github.com/lxndrblz/anatole/" +url = "https://github.com/glennrice/" -[[params.socialIcons]] -icon = "fab fa-instagram" -title = "instagram" -url = "https://www.instagram.com/" +#[[params.socialIcons]] +#icon = "fab fa-instagram" +#title = "instagram" +#url = "https://www.instagram.com/" -[[params.socialIcons]] -icon = "fas fa-envelope" -title = "e-mail" -url = "mailto:mail@alexbilz.com" +#[[params.socialIcons]] +#icon = "fas fa-envelope" +#title = "e-mail" +#url = "mailto:mail@alexbilz.com" ## Menu items diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..db79eb4 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,18 @@ +{{ $js := resources.Get "js/jquery.js" }} +{{ $secureJS := $js | resources.Minify | resources.Fingerprint }} + +{{ $migrate := resources.Get "js/jquery-migrate.js" }} +{{ $appear := resources.Get "js/jquery-appear.js" }} +{{ $js := slice $migrate $appear | resources.Concat "js/bundle.js" }} +{{ $secureJS := $js | resources.Minify | resources.Fingerprint }} + + +{{- partial "medium-zoom.html" . -}} +{{- partial "math.html" . -}} +{{- template "_internal/google_analytics_async.html" . -}}