Add Goatcounter and relocate some resources

This commit is contained in:
Florine W. Dekker 2021-04-21 23:59:16 +02:00
parent cb79cbfb05
commit 872a09b9a9
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
3 changed files with 9 additions and 12 deletions

View File

@ -16,7 +16,7 @@ module.exports = grunt => {
},
focus: {
dev: {
include: ["css", "html", "js", "link"],
include: ["css", "html", "js"],
},
},
replace: {
@ -54,10 +54,6 @@ module.exports = grunt => {
files: ["src/main/**/*.js"],
tasks: ["webpack:dev", "replace:dev"],
},
link: {
files: ["node_modules/@fwdekker/*/dist/**"],
tasks: ["webpack:dev", "replace:dev"],
},
},
webpack: {
options: {

View File

@ -1,6 +1,6 @@
{
"name": "tools",
"version": "1.1.1",
"version": "1.1.2",
"description": "Main page for the /tools directory.",
"author": "Felix W. Dekker",
"browser": "dist/bundle.js",

View File

@ -10,12 +10,16 @@
<title>Tools | FWDekker</title>
<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" />
<link rel="stylesheet" href="main.css?v=%%VERSION_NUMBER%%" />
<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=/tools/" 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/">
@ -32,7 +36,6 @@
<div id="contents">
<div id="header"></div>
<!-- Listing -->
<section class="container">
<div class="row">
@ -45,9 +48,7 @@
<div id="footer"></div>
</main>
<!-- Scripts -->
<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%%"></script>
</body>