Add Goatcounter and relocate some resources

This commit is contained in:
Florine W. Dekker 2021-04-22 13:15:49 +02:00
parent ebc6e9c989
commit 4adf225912
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
2 changed files with 8 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{
"name": "blog",
"version": "1.1.7",
"version": "1.1.8",
"description": "Felix W. Dekker's personal blog.",
"author": "Felix W. Dekker",
"browser": "dist/bundle.js",

View File

@ -10,9 +10,8 @@
<title>{% if page.title %}{{ page.title }}{% else %}Blog{% endif %} | FWDekker</title>
<link rel="shortcut icon" type="image/png" href="https://fwdekker.com/favicon.png" />
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto.css" crossorigin="anonymous" />
<link rel="stylesheet" href="https://static.fwdekker.com/lib/template/1.x.x/bundle.css" crossorigin="anonymous" />
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" />
<link rel="stylesheet" href="https://static.fwdekker.com/lib/template/2.x.x/template.css" />
<style>
p {
text-align: justify !important;
@ -23,9 +22,13 @@
list-style: decimal outside !important;
}
</style>
<script async src="https://stats.fwdekker.com/count.js"
data-goatcounter="https://stats.fwdekker.com/count"></script>
</head>
<body>
<noscript>
<img src="https://stats.fwdekker.com/count?p=/blog{{ page.url }}" alt="Counting pixel" />
<p style="color: red; font-weight: bold;">
This website does not function if JavaScript is disabled.
Please check the <a href="https://www.enable-javascript.com/">
@ -37,8 +40,6 @@
<div id="contents">
<div id="header"></div>
<!-- Contents -->
<section class="container">
{{ content | safe }}
</section>
@ -46,7 +47,7 @@
<div id="footer"></div>
</main>
<script src="https://static.fwdekker.com/lib/template/1.x.x/bundle.js" crossorigin="anonymous"></script>
<script src="https://static.fwdekker.com/lib/template/2.x.x/template.js"></script>
<!--suppress HtmlUnknownTarget -->
<script src="{{ '/bundle.js?v=%%VERSION_NUMBER%%' | url }}"></script>
</body>