Fix dns prefetch

This commit is contained in:
Gabriel Augendre 2020-12-25 12:03:43 +01:00
parent a013831ffd
commit 665bf25b2b
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4

View file

@ -1,3 +1,4 @@
{% if plausible_domain is not None and not user.is_authenticated %}
<script async defer data-domain="{{ plausible_domain }}" rel="dns-prefetch" src="https://plausible.augendre.info/js/plausible.js"></script>
<link rel="dns-prefetch" href="https://plausible.augendre.info">
<script async defer data-domain="{{ plausible_domain }}" src="https://plausible.augendre.info/js/plausible.js"></script>
{% endif %}