Add Goatcounter and relocate some resources

This commit is contained in:
Florine W. Dekker 2021-04-22 13:01:14 +02:00
parent e6cd3d554e
commit b3647e04f6
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
3 changed files with 9 additions and 10 deletions

View File

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

View File

@ -1,6 +1,6 @@
{ {
"name": "converter", "name": "converter",
"version": "1.4.9", "version": "1.4.10",
"description": "Convert numbers to and from various bases.", "description": "Convert numbers to and from various bases.",
"author": "Felix W. Dekker", "author": "Felix W. Dekker",
"browser": "dist/bundle.js", "browser": "dist/bundle.js",

View File

@ -10,11 +10,15 @@
<title>Converter | FWDekker</title> <title>Converter | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto.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/1.x.x/bundle.css" crossorigin="anonymous" /> <link rel="stylesheet" href="https://static.fwdekker.com/lib/template/2.x.x/template.css" />
<script async src="https://stats.fwdekker.com/count.js"
data-goatcounter="https://stats.fwdekker.com/count"></script>
</head> </head>
<body> <body>
<noscript> <noscript>
<img src="https://stats.fwdekker.com/count?p=/tools/converter/" alt="Counting pixel" />
<p style="color: red; font-weight: bold;"> <p style="color: red; font-weight: bold;">
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/">
@ -26,7 +30,6 @@
<div id="contents"> <div id="contents">
<div id="header"></div> <div id="header"></div>
<!-- Input --> <!-- Input -->
<section class="container"> <section class="container">
<div class="row"> <div class="row">
@ -42,7 +45,7 @@
<div id="footer"></div> <div id="footer"></div>
</main> </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 --> <!--suppress HtmlUnknownTarget -->
<script src="bundle.js?v=%%VERSION_NUMBER%%"></script> <script src="bundle.js?v=%%VERSION_NUMBER%%"></script>
</body> </body>