forked from tools/josh
Add Goatcounter and relocate some resources
This commit is contained in:
parent
119166c321
commit
57bcfcbf0f
14
Gruntfile.js
14
Gruntfile.js
|
@ -22,7 +22,7 @@ module.exports = grunt => {
|
||||||
},
|
},
|
||||||
focus: {
|
focus: {
|
||||||
dev: {
|
dev: {
|
||||||
include: ["css", "html", "link", "ts"],
|
include: ["css", "html", "ts"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
replace: {
|
replace: {
|
||||||
|
@ -56,10 +56,6 @@ module.exports = grunt => {
|
||||||
files: ["src/main/**/*.html"],
|
files: ["src/main/**/*.html"],
|
||||||
tasks: ["copy:html"],
|
tasks: ["copy:html"],
|
||||||
},
|
},
|
||||||
link: {
|
|
||||||
files: ["node_modules/@fwdekker/*/dist/**"],
|
|
||||||
tasks: ["webpack:dev", "replace:dev"],
|
|
||||||
},
|
|
||||||
ts: {
|
ts: {
|
||||||
files: ["src/main/**/*.ts"],
|
files: ["src/main/**/*.ts"],
|
||||||
tasks: ["webpack:dev", "replace:dev"],
|
tasks: ["webpack:dev", "replace:dev"],
|
||||||
|
@ -106,9 +102,9 @@ module.exports = grunt => {
|
||||||
// Pre
|
// Pre
|
||||||
"clean",
|
"clean",
|
||||||
// Copy files
|
// Copy files
|
||||||
"copy:images",
|
|
||||||
"copy:html",
|
|
||||||
"copy:css",
|
"copy:css",
|
||||||
|
"copy:html",
|
||||||
|
"copy:images",
|
||||||
"copy:pwa",
|
"copy:pwa",
|
||||||
// Compile
|
// Compile
|
||||||
"webpack:dev",
|
"webpack:dev",
|
||||||
|
@ -120,9 +116,9 @@ module.exports = grunt => {
|
||||||
// Pre
|
// Pre
|
||||||
"clean",
|
"clean",
|
||||||
// Copy files
|
// Copy files
|
||||||
"copy:images",
|
|
||||||
"copy:html",
|
|
||||||
"copy:css",
|
"copy:css",
|
||||||
|
"copy:html",
|
||||||
|
"copy:images",
|
||||||
"copy:pwa",
|
"copy:pwa",
|
||||||
// Compile JS
|
// Compile JS
|
||||||
"webpack:deploy",
|
"webpack:deploy",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "fwdekker.com",
|
"name": "fwdekker.com",
|
||||||
"version": "0.39.19",
|
"version": "0.39.20",
|
||||||
"description": "The source code of [my personal website](https://fwdekker.com/).",
|
"description": "The source code of [my personal website](https://fwdekker.com/).",
|
||||||
"author": "Felix W. Dekker",
|
"author": "Felix W. Dekker",
|
||||||
"browser": "dist/bundle.js",
|
"browser": "dist/bundle.js",
|
||||||
|
|
|
@ -14,18 +14,25 @@
|
||||||
|
|
||||||
<title>FWDekker</title>
|
<title>FWDekker</title>
|
||||||
|
|
||||||
|
<!--suppress HtmlUnknownTarget -->
|
||||||
<link rel="icon" type="image/png" href="favicon.png?v=%%VERSION_NUMBER%%" />
|
<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="apple-touch-icon" href="icon_ios.png?v=%%VERSION_NUMBER%%" />
|
||||||
<link rel="manifest" href="manifest.json?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 rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto-mono/roboto-mono.css" />
|
||||||
<link href="main.css?v=%%VERSION_NUMBER%%" rel="stylesheet" />
|
<!--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>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main>
|
<main>
|
||||||
<!-- Comment out newlines and indents because of `white-space: pre-wrap` in CSS. -->
|
<!-- Comment out newlines and indents because of `white-space: pre-wrap` in CSS. -->
|
||||||
<div id="terminal"><!--
|
<div id="terminal"><!--
|
||||||
--><noscript><!--
|
--><noscript><!--
|
||||||
|
--><img src="https://stats.fwdekker.com/count?p=/" alt="Counting pixel" /><!--
|
||||||
|
--><!--
|
||||||
-->This website does not function if JavaScript is disabled. <!--
|
-->This website does not function if JavaScript is disabled. <!--
|
||||||
-->Please check the <a href="https://www.enable-javascript.com/"><!--
|
-->Please check the <a href="https://www.enable-javascript.com/"><!--
|
||||||
-->instructions how to enable JavaScript in your web browser</a>.<!--
|
-->instructions how to enable JavaScript in your web browser</a>.<!--
|
||||||
|
@ -45,7 +52,6 @@
|
||||||
--></div>
|
--></div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
if (/MSIE|Trident/.test(window.navigator.userAgent)) {
|
if (/MSIE|Trident/.test(window.navigator.userAgent)) {
|
||||||
window.onload = function () {
|
window.onload = function () {
|
||||||
|
@ -59,6 +65,7 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<!--suppress HtmlUnknownTarget -->
|
||||||
<script type="module" src="bundle.js?v=%%VERSION_NUMBER%%"></script>
|
<script type="module" src="bundle.js?v=%%VERSION_NUMBER%%"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue