mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 21:48:27 -04:00
simple analytics pixel on AMP pages
This commit is contained in:
parent
9e794df120
commit
cfc99631a9
@ -8,6 +8,7 @@ Personal website of [@jakejarvis](https://github.com/jakejarvis), created and de
|
||||
- [Hugo extended](https://github.com/gohugoio/hugo)
|
||||
- [Netlify](https://www.netlify.com/)
|
||||
- [Commento](https://gitlab.com/commento/commento)
|
||||
- [Simple Analytics](https://simpleanalytics.com/) ([referral link](https://referral.simpleanalytics.com/jake-jarvis))
|
||||
- [...and much more.](https://jarv.is/uses/)
|
||||
|
||||
I keep an ongoing list of [blog post ideas](https://github.com/jakejarvis/jarv.is/issues/1) and [coding to-dos](https://github.com/jakejarvis/jarv.is/issues/11) as issues in this repo.
|
||||
|
@ -32,6 +32,7 @@
|
||||
Hugo extended
|
||||
Netlify
|
||||
Commento
|
||||
Simple Analytics
|
||||
...and much more: https://jarv.is/uses/
|
||||
|
||||
# VIEW SOURCE
|
||||
|
@ -256,6 +256,9 @@
|
||||
<div class="left">Content by <a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a>, licensed under <a href="https://creativecommons.org/licenses/by/4.0/" title="Creative Commons Attribution 4.0 International" target="_blank" rel="noopener">CC-BY-4.0</a>.</div>
|
||||
<div class="right"><a class="back-to-top" href="#top">↑ Back to top.</a></div>
|
||||
</footer>
|
||||
|
||||
<!-- Simple Analytics -->
|
||||
<amp-pixel src="https://s.jarv.is/image.gif" layout="nodisplay"></amp-pixel>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user