From 3cdd0f6f1b2df6d813365a8b7e4c26a4ea9f28c6 Mon Sep 17 00:00:00 2001 From: Dinesh Natesan Date: Thu, 7 Jan 2021 20:17:38 +0530 Subject: [PATCH] Add webpage + add panelbear analytics (#176) * Add webpage to academic pages list * adding panelbear analytics --- README.md | 1 + _config.yml | 14 ++++++++------ _includes/head.html | 9 +++++++++ 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9756152..ee96923 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ Feel free to add your own page(s) by sending a PR. + diff --git a/_config.yml b/_config.yml index 91bb950..4060223 100644 --- a/_config.yml +++ b/_config.yml @@ -58,6 +58,7 @@ contact_note: > You can even add a little note about which of these is the best way to reach you. google_analytics: UA-XXXXXXXXX # out your google-analytics code +panelbear_analytics: XXXXXXXXX # panelbear analytics site ID # ----------------------------------------------------------------------------- # Blog @@ -152,12 +153,13 @@ scholar: # Optional Features # ----------------------------------------------------------------------------- -enable_google_analytics: false -enable_mansory: true -enable_math: true -enable_tooltips: false -enable_darkmode: true -show_social_icons: false +enable_google_analytics: false +enable_panelbear_analytics: false +enable_mansory: true +enable_math: true +enable_tooltips: false +enable_darkmode: true +show_social_icons: false # ----------------------------------------------------------------------------- # Library versions diff --git a/_includes/head.html b/_includes/head.html index 8c1afd9..95f8668 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -49,3 +49,12 @@ gtag('config', '{{ site.google_analytics }}'); {% endif %} + +{% if site.enable_panelbear_analytics %} + + + +{% endif %}