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: {
|
||||
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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue