1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 12:55:31 -04:00

simple analytics pixel on AMP pages

This commit is contained in:
2020-02-01 08:11:54 -05:00
parent 9e794df120
commit cfc99631a9
5 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
<link rel="preconnect" href="https://s.jarv.is" crossorigin>
<link rel="preload" href="{{ "fonts/inter-regular-subset.woff2" | absURL }}" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="{{ "fonts/inter-medium-subset.woff2" | absURL }}" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="{{ "fonts/inter-bold-subset.woff2" | absURL }}" as="font" type="font/woff2" crossorigin>

View File

@@ -1,4 +1,4 @@
{{ if eq hugo.Environment "production" }}
<script async defer src="https://s.jarv.is/app.js"></script>
<script data-skip-dnt="true" async defer src="https://s.jarv.is/app.js"></script>
<noscript><img src="https://s.jarv.is/image.gif" alt=""></noscript>
{{ end }}