Integrate Umami analytics

This commit is contained in:
N-Upchurch 2023-07-24 11:49:37 -05:00
parent 5c4edd5de2
commit ca36da4ec0
5 changed files with 14 additions and 1 deletions

View File

@ -4,6 +4,9 @@ Integrate est. read time
Integrate % done in article
Investigate pagination for /blog/
Integrate recipe structured data for recipe type articles
No line breaks in inline code fences
Style inline code fences with background
Integrate ins plugin
Performance / Accessibility:
---------------------------------------

View File

@ -53,6 +53,8 @@
<meta name="twitter:description" content="{{ synopsis}}" />
<meta name="twitter:image" content="{% if imageURL %}{{ imageURL | htmlBaseUrl(metadata.url) }}{% else %}{{ metadata.defaultPostImageURL | htmlBaseUrl(metadata.url) }}{% endif %}" />
{% endif %}
{% include "umami.html" %}
</head>
<body>
<a href="#skip" class="visually-hidden">Skip to main content</a>

View File

@ -18,6 +18,8 @@
{%- css %}{% include "public/css/webfonts/webfonts.css" %}{% endcss %}
{%- css %}{% include "public/css/dropcap.css" %}{% endcss %}
<style>{% getBundle "css" %}</style>
{% include "umami.html" %}
</head>
<body class="barebones">
<a href="#skip" class="visually-hidden">Skip to main content</a>

6
_includes/umami.html Normal file
View File

@ -0,0 +1,6 @@
<!-- Umami -->
<script async
src="https://umami.upchur.ch/script.js"
data-website-id="84d59eb1-d4dd-432f-ae96-47f8182fd244"
data-domains="nathanupchurch.com"
></script>

View File

@ -5,4 +5,4 @@ eleventyNavigation:
order: 3
---
# About the author, Nathan Upchurch.
<p class="page-block nodropcap">I'm a prolific vegan home cook, classical trombonist, a <abbr title="Free/Libre Open Source Software">FLOSS</abbr> enthusiast, daily GNU/Linux user and unabashed <a href="https://kde.org/">KDE</a> stan, speaker of subpar elementary Spanish, incense enthusiast, writer, electronics hobbyist, designer, programmer, music producer, print lover, and human with too many interests and too little time. This is my personal website and blog. <br><br>Because this is my <em>personal</em> website, I'm not here to talk about work, but I will link my professional bio here when I've gotten around to making it. If you would like to say something nice, you can find me on <a href="https://mastodon.social/@nathanu">Mastodon</a>.<br><br>This website is made with <a href="https://www.11ty.dev/">11ty</a>, <a href="https://www.gent.media/manrope">Manrope</a>, <a href="https://github.com/clauseggers/Playfair">Playfair Display</a>, and plain-old HTML & CSS. I don't collect any of your data, full-stop. No analytics, no "anonymized data," nothing. All webfonts, icons, and images are hosted locally (Instead of by Google, for instance, or any other company which might<a href="https://www.firstpost.com/world/how-google-uses-fonts-to-track-what-users-do-online-and-sell-data-to-advertisers-12496552.html"> use them to track you</a>).<br><hr>Find more blogs at <a href="https://blogroll.org">blogroll.org</a>, or <a href="https://ooh.directory/">ooh.directory</a>. | <a href="https://keyoxide.org/31E809FAEA1532AC91BBDCF1EC499D3513F69340">Keyoxide profile</a></p>
<p class="page-block nodropcap">I'm a prolific vegan home cook, classical trombonist, a <abbr title="Free/Libre Open Source Software">FLOSS</abbr> enthusiast, daily GNU/Linux user and unabashed <a href="https://kde.org/">KDE</a> stan, speaker of subpar elementary Spanish, incense enthusiast, writer, electronics hobbyist, designer, programmer, music producer, print lover, and human with too many interests and too little time. This is my personal website and blog. <br><br>Because this is my <em>personal</em> website, I'm not here to talk about work, but I will link my professional bio here when I've gotten around to making it. If you would like to say something nice, you can find me on <a href="https://mastodon.social/@nathanu">Mastodon</a>.<br><br>This website is made with <a href="https://www.11ty.dev/">11ty</a>, <a href="https://www.gent.media/manrope">Manrope</a>, <a href="https://github.com/clauseggers/Playfair">Playfair Display</a>, and plain-old HTML & CSS. I don't collect any of your data, full-stop. All webfonts, icons, and images are hosted locally (Instead of by Google, for instance, or any other company which might<a href="https://www.firstpost.com/world/how-google-uses-fonts-to-track-what-users-do-online-and-sell-data-to-advertisers-12496552.html"> use them to track you</a>).<br><hr>Find more blogs at <a href="https://blogroll.org">blogroll.org</a>, or <a href="https://ooh.directory/">ooh.directory</a>. | <a href="https://keyoxide.org/31E809FAEA1532AC91BBDCF1EC499D3513F69340">Keyoxide profile</a></p>