forked from tools/josh
1
0
Fork 0

Add Goatcounter and relocate some resources

This commit is contained in:
Florine W. Dekker 2021-04-22 13:21:12 +02:00
parent 119166c321
commit 57bcfcbf0f
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
3 changed files with 16 additions and 13 deletions

View File

@ -22,7 +22,7 @@ module.exports = grunt => {
},
focus: {
dev: {
include: ["css", "html", "link", "ts"],
include: ["css", "html", "ts"],
},
},
replace: {
@ -56,10 +56,6 @@ module.exports = grunt => {
files: ["src/main/**/*.html"],
tasks: ["copy:html"],
},
link: {
files: ["node_modules/@fwdekker/*/dist/**"],
tasks: ["webpack:dev", "replace:dev"],
},
ts: {
files: ["src/main/**/*.ts"],
tasks: ["webpack:dev", "replace:dev"],
@ -106,9 +102,9 @@ module.exports = grunt => {
// Pre
"clean",
// Copy files
"copy:images",
"copy:html",
"copy:css",
"copy:html",
"copy:images",
"copy:pwa",
// Compile
"webpack:dev",
@ -120,9 +116,9 @@ module.exports = grunt => {
// Pre
"clean",
// Copy files
"copy:images",
"copy:html",
"copy:css",
"copy:html",
"copy:images",
"copy:pwa",
// Compile JS
"webpack:deploy",

View File

@ -1,6 +1,6 @@
{
"name": "fwdekker.com",
"version": "0.39.19",
"version": "0.39.20",
"description": "The source code of [my personal website](https://fwdekker.com/).",
"author": "Felix W. Dekker",
"browser": "dist/bundle.js",

View File

@ -14,18 +14,25 @@
<title>FWDekker</title>
<!--suppress HtmlUnknownTarget -->
<link rel="icon" type="image/png" href="favicon.png?v=%%VERSION_NUMBER%%" />
<!--suppress HtmlUnknownTarget -->
<link rel="apple-touch-icon" href="icon_ios.png?v=%%VERSION_NUMBER%%" />
<link rel="manifest" href="manifest.json?v=%%VERSION_NUMBER%%">
<link href="https://static.fwdekker.com/fonts/roboto-mono.css" rel="stylesheet" />
<link href="main.css?v=%%VERSION_NUMBER%%" rel="stylesheet" />
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto-mono/roboto-mono.css" />
<!--suppress HtmlUnknownTarget -->
<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>
<main>
<!-- Comment out newlines and indents because of `white-space: pre-wrap` in CSS. -->
<div id="terminal"><!--
--><noscript><!--
--><img src="https://stats.fwdekker.com/count?p=/" alt="Counting pixel" /><!--
--><!--
-->This website does not function if JavaScript is disabled. <!--
-->Please check the <a href="https://www.enable-javascript.com/"><!--
-->instructions how to enable JavaScript in your web browser</a>.<!--
@ -45,7 +52,6 @@
--></div>
</main>
<script>
if (/MSIE|Trident/.test(window.navigator.userAgent)) {
window.onload = function () {
@ -59,6 +65,7 @@
});
}
</script>
<!--suppress HtmlUnknownTarget -->
<script type="module" src="bundle.js?v=%%VERSION_NUMBER%%"></script>
</body>
</html>