Add webpage + add panelbear analytics (#176)
* Add webpage to academic pages list * adding panelbear analytics
This commit is contained in:
parent
e2353bcc8f
commit
3cdd0f6f1b
@ -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>
|
||||
|
14
_config.yml
14
_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
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user