templates/head.html
{{ define "head" }}
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="/static/style.css" type="text/css">
<link rel='shortcut icon' href='/static/favicon.ico'>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>j3s.sh</title>
<link rel="alternate" title="Sitewide Atom feed" type="application/atom+xml" href="/feed.atom" />
<link href="https://github.com/biox" rel="me" />
<script data-goatcounter="https://stats.j3s.sh/count"
async src="//stats.j3s.sh/count.js"></script>
<script>
window.addEventListener('load', function () {
document.querySelectorAll('a[href*="abyss.fish"]').forEach(function (a) {
a.addEventListener('click', function () {
if (!window.goatcounter || !window.goatcounter.count) return;
window.goatcounter.count({
path: 'abyss-click: ' + a.href,
title: a.href,
event: true,
});
});
});
});
</script>
</head>
{{ end }}