Remove some libraries
This commit is contained in:
parent
2cb54aaf7b
commit
0ea7185bf7
25
_config.yml
25
_config.yml
|
@ -256,20 +256,17 @@ jekyll-diagrams:
|
|||
# Optional Features
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
enable_google_analytics: false # enables google analytics
|
||||
enable_panelbear_analytics: false # enables panelbear analytics
|
||||
enable_google_verification: false # enables google site verification
|
||||
enable_bing_verification: false # enables bing site verification
|
||||
enable_masonry: true # enables automatic project cards arangement
|
||||
enable_math: true # enables math typesetting (uses MathJax)
|
||||
enable_tooltips: false # enables automatic tooltip links generated
|
||||
# for each section titles on pages and posts
|
||||
enable_darkmode: true # enables switching between light/dark modes
|
||||
enable_navbar_social: false # enables displaying social links in the
|
||||
# navbar on the about page
|
||||
enable_project_categories: true # enables categorization of projects into
|
||||
# multiple categories
|
||||
enable_medium_zoom: true # enables image zoom feature (as on medium.com)
|
||||
enable_google_analytics: false
|
||||
enable_panelbear_analytics: false
|
||||
enable_google_verification: false
|
||||
enable_bing_verification: false
|
||||
enable_masonry: true
|
||||
enable_math: false
|
||||
enable_tooltips: false
|
||||
enable_darkmode: true
|
||||
enable_navbar_social: false
|
||||
enable_project_categories: true
|
||||
enable_medium_zoom: false
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
|
|
@ -6,11 +6,4 @@
|
|||
gtag('js', new Date());
|
||||
gtag('config', '{{ site.google_analytics }}');
|
||||
</script>
|
||||
{%- endif -%}
|
||||
{%- if site.enable_panelbear_analytics -%}
|
||||
<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 -%}
|
||||
|
|
|
@ -3,9 +3,5 @@
|
|||
$(function () {$('[data-toggle="tooltip"]').tooltip()})
|
||||
</script>
|
||||
{%- endif %}
|
||||
{%- if site.enable_medium_zoom %}
|
||||
<script src="https://cdn.jsdelivr.net/npm/medium-zoom@{{ site.medium_zoom.version }}/dist/medium-zoom.min.js" integrity="{{ site.medium_zoom.integrity }}" crossorigin="anonymous"></script>
|
||||
<script src="{{ '/assets/js/zoom.js' | relative_url }}"></script>
|
||||
{%- endif -%}
|
||||
|
||||
<script src="{{ '/assets/js/common.js' | relative_url }}"></script>
|
||||
|
|
Loading…
Reference in New Issue