mirror of https://github.com/Leinnan/rpack.git
Update index.html
This commit is contained in:
parent
fa4d218dae
commit
32268c330b
|
|
@ -1,9 +1,12 @@
|
||||||
<!DOCTYPE html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
|
||||||
<!-- Disable zooming: -->
|
<!-- Disable zooming: -->
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
<meta
|
||||||
|
name="viewport"
|
||||||
|
content="width=device-width, initial-scale=1.0, user-scalable=no"
|
||||||
|
/>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<!-- change this to your project name -->
|
<!-- change this to your project name -->
|
||||||
|
|
@ -14,21 +17,27 @@
|
||||||
<!-- this is the base url relative to which other urls will be constructed. trunk will insert this from the public-url option -->
|
<!-- this is the base url relative to which other urls will be constructed. trunk will insert this from the public-url option -->
|
||||||
<base data-trunk-public-url />
|
<base data-trunk-public-url />
|
||||||
|
|
||||||
<link data-trunk rel="icon" href="assets/favicon.ico">
|
<link data-trunk rel="icon" href="assets/favicon.ico" />
|
||||||
|
|
||||||
|
|
||||||
<link data-trunk rel="copy-file" href="assets/sw.js" />
|
<link data-trunk rel="copy-file" href="assets/sw.js" />
|
||||||
<link data-trunk rel="copy-file" href="assets/manifest.json" />
|
<link data-trunk rel="copy-file" href="assets/manifest.json" />
|
||||||
<link data-trunk rel="copy-file" href="assets/icon-1024.png" />
|
<!--<link data-trunk rel="copy-file" href="assets/icon-1024.png" />
|
||||||
<link data-trunk rel="copy-file" href="assets/icon-256.png" />
|
<link data-trunk rel="copy-file" href="assets/icon-256.png" />
|
||||||
<link data-trunk rel="copy-file" href="assets/icon_ios_touch_192.png" />
|
<link data-trunk rel="copy-file" href="assets/icon_ios_touch_192.png" />
|
||||||
<link data-trunk rel="copy-file" href="assets/maskable_icon_x512.png" />
|
<link data-trunk rel="copy-file" href="assets/maskable_icon_x512.png" />-->
|
||||||
|
|
||||||
|
<link rel="manifest" href="manifest.json" />
|
||||||
<link rel="manifest" href="manifest.json">
|
<!--<link rel="apple-touch-icon" href="icon_ios_touch_192.png" />-->
|
||||||
<link rel="apple-touch-icon" href="icon_ios_touch_192.png">
|
<meta
|
||||||
<meta name="theme-color" media="(prefers-color-scheme: light)" content="white">
|
name="theme-color"
|
||||||
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#404040">
|
media="(prefers-color-scheme: light)"
|
||||||
|
content="white"
|
||||||
|
/>
|
||||||
|
<meta
|
||||||
|
name="theme-color"
|
||||||
|
media="(prefers-color-scheme: dark)"
|
||||||
|
content="#404040"
|
||||||
|
/>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
html {
|
html {
|
||||||
|
|
@ -115,7 +124,6 @@
|
||||||
transform: rotate(360deg);
|
transform: rotate(360deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
@ -128,18 +136,23 @@
|
||||||
<!-- Force refresh (Ctrl + F5) to load the latest files instead of cached files -->
|
<!-- Force refresh (Ctrl + F5) to load the latest files instead of cached files -->
|
||||||
<script>
|
<script>
|
||||||
// We disable caching during development so that we always view the latest version.
|
// We disable caching during development so that we always view the latest version.
|
||||||
if ('serviceWorker' in navigator && window.location.hash !== "#dev") {
|
if (
|
||||||
window.addEventListener('load', function () {
|
"serviceWorker" in navigator &&
|
||||||
navigator.serviceWorker.register('sw.js');
|
window.location.hash !== "#dev"
|
||||||
|
) {
|
||||||
|
window.addEventListener("load", function () {
|
||||||
|
navigator.serviceWorker.register("sw.js");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script data-goatcounter="https://mevlyshkin.goatcounter.com/count"
|
<script
|
||||||
|
data-goatcounter="https://mevlyshkin.goatcounter.com/count"
|
||||||
data-goatcounter-settings='{"path": "/rpack"}'
|
data-goatcounter-settings='{"path": "/rpack"}'
|
||||||
async src="//zgo.at/count.js"></script>
|
async
|
||||||
|
src="//zgo.at/count.js"
|
||||||
|
></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
<!-- Powered by egui: https://github.com/emilk/egui/ -->
|
<!-- Powered by egui: https://github.com/emilk/egui/ -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue