Samme indhold, URL'er og udseende, bygget af en enkelt zola-binær og Tailwind standalone-CLI uden Node. Kanonisk domæne er asger.weirsoe.dk. Blogindlæg ligger som page bundles med frontmatter Zola forstår, så de gamle stempler er ugyldige, indtil scripts/omstempl.py er kørt med PUBLISH_KEY. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
39 lines
1.7 KiB
HTML
39 lines
1.7 KiB
HTML
<script>
|
|
var _paq = (window._paq = window._paq || []);
|
|
_paq.push(['setDomains', ['*.weirsoe.dk', '*.xn--weirse-fya.dk']]);
|
|
_paq.push(['setVisitorCookieTimeout', 31536000]);
|
|
_paq.push(['enableLinkTracking']);
|
|
(function () {
|
|
try {
|
|
var w = screen.width, h = screen.height, dpr = Math.round(window.devicePixelRatio || 1);
|
|
var k = Math.min(w, h) + 'x' + Math.max(w, h) + '@' + dpr;
|
|
var ua = navigator.userAgent || '';
|
|
var isApple = /iPhone|iPad|iPod/.test(ua) || (/Macintosh/.test(ua) && navigator.maxTouchPoints > 1);
|
|
var iphone = {
|
|
'320x568@2': 'iPhone SE(1)/5s',
|
|
'375x667@2': 'iPhone SE(2/3)/6/7/8',
|
|
'414x736@3': 'iPhone 6+/7+/8+ Plus',
|
|
'375x812@3': 'iPhone X/XS/11Pro/12mini/13mini',
|
|
'390x844@3': 'iPhone 12/13/14/16e (6,1 tomme notch)',
|
|
'393x852@3': 'iPhone 14Pro/15/15Pro/16',
|
|
'402x874@3': 'iPhone 16Pro',
|
|
'414x896@2': 'iPhone XR/11',
|
|
'414x896@3': 'iPhone XSMax/11ProMax',
|
|
'428x926@3': 'iPhone 12ProMax/13ProMax/14Plus',
|
|
'430x932@3': 'iPhone 14ProMax/15Plus/15ProMax/16Plus',
|
|
'440x956@3': 'iPhone 16ProMax'
|
|
};
|
|
var model = iphone[k] ? iphone[k] : (isApple ? ('Apple ukendt ' + k) : ('Andet ' + k + ' ' + (navigator.platform || '?')));
|
|
_paq.push(['setCustomDimension', 2, model]);
|
|
} catch (e) {}
|
|
})();
|
|
_paq.push(['trackPageView']);
|
|
(function () {
|
|
var u = '/_a/';
|
|
_paq.push(['setTrackerUrl', u + 'a']);
|
|
_paq.push(['setSiteId', '2']);
|
|
var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
|
|
g.async = true; g.src = u + 'a.js'; s.parentNode.insertBefore(g, s);
|
|
})();
|
|
</script>
|