gbif / hp-beaty-biodiversity-museum

This repository is for the GBIF Hosted Portal for the Beaty Biodiversity Museum
https://collections.beatymuseum.ubc.ca
Apache License 2.0
1 stars 3 forks source link

Switch plausible to head #90

Closed mpitblado closed 9 months ago

mpitblado commented 9 months ago

Switch the script to be in the html head, because the previous config just adds it there anyways based on

{% if site.plausible.enabled %}
  <script defer data-domain="{{ site.plausible.dataDomain }}" src="https://plausible.io/js/script.js"></script>
{% endif %}

This just cuts out a step