Add webpage + add panelbear analytics (#176)

* Add webpage to academic pages list

* adding panelbear analytics
This commit is contained in:
Dinesh Natesan 2021-01-07 20:17:38 +05:30 committed by GitHub
parent e2353bcc8f
commit 3cdd0f6f1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 6 deletions

View File

@ -50,6 +50,7 @@ Feel free to add your own page(s) by sending a PR.
<a href="https://liamcli.com/" target="_blank"></a>
<a href="https://yoonholee.com/" target="_blank"></a>
<a href="https://zrqiao.github.io/" target="_blank"></a>
<a href="https://abstractgeek.github.io/" target="_blank"></a>
</td>
</tr>
<tr>

View File

@ -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

View File

@ -49,3 +49,12 @@
gtag('config', '{{ site.google_analytics }}');
</script>
{% endif %}
{% if site.enable_panelbear_analytics %}
<!-- Panelbear Analytics - We respect your privacy -->
<script async src="https://cdn.panelbear.com/analytics.js?site={{site.panelbear_analytics}}"></script>
<script>
window.panelbear = window.panelbear || function() { (window.panelbear.q = window.panelbear.q || []).push(arguments); };
panelbear('config', { site: '{{site.panelbear_analytics}}' });
</script>
{% endif %}