- Remove Matomo analytics code
- Add noindex tags on some pages - Bump version - Move Liwan analytics code from app.html to +layout.svelte
This commit is contained in:
parent
ee6e81de62
commit
059eae3784
16
src/app.html
16
src/app.html
@ -2,22 +2,6 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<!-- Matomo -->
|
||||
<script>
|
||||
var _paq = window._paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
var u="https://owa.fjla.uk/";
|
||||
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
||||
_paq.push(['setSiteId', '1']);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
<!-- End Matomo Code -->
|
||||
<script type="module" data-entity="owlboard-frontend" src="https://liwan.fjla.uk/script.js"></script>
|
||||
%sveltekit.head%
|
||||
</head>
|
||||
<body data-sveltekit-preload-data="hover">
|
||||
|
@ -1,2 +1,2 @@
|
||||
export const version: string = "2025.03.3";
|
||||
export const version: string = "2025.03.4";
|
||||
export const versionTag: string = "";
|
||||
|
@ -5,6 +5,10 @@
|
||||
const title = "OwlBoard - Error";
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<meta name="robots" content="noindex">
|
||||
</svelte:head>
|
||||
|
||||
<Header {title} />
|
||||
|
||||
<h1>{$page.status}: {$page?.error?.message}</h1>
|
||||
|
@ -16,7 +16,8 @@
|
||||
Check out the source code on Gitea (https://git.fjla.net/OwlBoard)
|
||||
It's easier to read there
|
||||
-->
|
||||
|
||||
<!-- Liwan Analytics -->
|
||||
<script type="module" data-entity="owlboard-frontend" src="https://liwan.fjla.uk/script.js"></script>
|
||||
<meta name="application-name" content="OwlBoard" />
|
||||
<meta name="author" content="Frederick Boniface" />
|
||||
<meta
|
||||
|
@ -5,6 +5,10 @@
|
||||
const title = "404 - Not Found";
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<meta name="robots" content="noindex">
|
||||
</svelte:head>
|
||||
|
||||
<Header {title} />
|
||||
<h1 class="heading">There's no light at the end of this tunnel</h1>
|
||||
<p>The page you were looking for wasn't found</p>
|
||||
|
@ -5,6 +5,10 @@
|
||||
const title = "50x - Server Error";
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<meta name="robots" content="noindex">
|
||||
</svelte:head>
|
||||
|
||||
<Header {title} />
|
||||
<h1 class="heading">This page has been delayed by more servers than usual needing repairs at the same time</h1>
|
||||
<p>There was an error with the server, please try again later</p>
|
||||
|
@ -32,6 +32,10 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<meta name="robots" content="noindex">
|
||||
</svelte:head>
|
||||
|
||||
<Header {title} />
|
||||
|
||||
{#if !blockLoading}
|
||||
|
@ -2,6 +2,9 @@
|
||||
import LargeLogo from "$lib/images/large-logo.svelte";
|
||||
|
||||
</script>
|
||||
<svelte:head>
|
||||
<meta name="robots" content="noindex">
|
||||
</svelte:head>
|
||||
<LargeLogo />
|
||||
<h1>
|
||||
OwlBoard is down for maintenance
|
||||
|
@ -29,6 +29,10 @@
|
||||
];
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<meta name="robots" content="noindex">
|
||||
</svelte:head>
|
||||
|
||||
<Header {title} />
|
||||
|
||||
{#each links as item}
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
<Header {title} />
|
||||
<LargeLogo />
|
||||
<p class="neg">© 2022-2023 Frederick Boniface</p>
|
||||
<p class="neg">© 2022-2025 Frederick Boniface</p>
|
||||
<p>OwlBoard was created by train crew for train crew.</p>
|
||||
<p>I developed OwlBoard in 2022 with the aim of providing fast and easy access to the information we need on a daily basis.</p>
|
||||
<p>Data is sourced from National Rail Enquiries, the OwlBoard Project, and Network Rail.</p>
|
||||
|
@ -35,6 +35,10 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<meta name="robots" content="noindex">
|
||||
</svelte:head>
|
||||
|
||||
<Header {title} />
|
||||
|
||||
<p>OwlBoard stores as little data about you as possible to offer the service.</p>
|
||||
|
@ -3,6 +3,10 @@
|
||||
import Nav from "$lib/navigation/nav.svelte";
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<meta name="robots" content="noindex">
|
||||
</svelte:head>
|
||||
|
||||
<Header title={"Help"} />
|
||||
<Nav />
|
||||
<br /><br />
|
||||
|
@ -4,6 +4,10 @@
|
||||
const title = "Privacy Policy";
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<meta name="robots" content="noindex">
|
||||
</svelte:head>
|
||||
|
||||
<Header {title} />
|
||||
<div>
|
||||
<p>
|
||||
|
@ -45,6 +45,10 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<meta name="robots" content="noindex">
|
||||
</svelte:head>
|
||||
|
||||
<Header {title} />
|
||||
|
||||
{#if state}
|
||||
|
@ -76,6 +76,10 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<meta name="robots" content="noindex">
|
||||
</svelte:head>
|
||||
|
||||
<Header {title} />
|
||||
|
||||
{#if isLoading}
|
||||
|
@ -17,6 +17,10 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<meta name="robots" content="noindex">
|
||||
</svelte:head>
|
||||
|
||||
<Header {title} />
|
||||
|
||||
<QlSet />
|
||||
|
@ -43,6 +43,10 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<meta name="robots" content="noindex">
|
||||
</svelte:head>
|
||||
|
||||
<Header {title} />
|
||||
|
||||
{#await getData()}
|
||||
|
@ -17,6 +17,10 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<meta name="robots" content="noindex">
|
||||
</svelte:head>
|
||||
|
||||
<Header {title} />
|
||||
|
||||
<LargeLogo />
|
||||
|
@ -113,6 +113,10 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<meta name="robots" content="noindex">
|
||||
</svelte:head>
|
||||
|
||||
<Header {title} />
|
||||
<TimeBar updatedTime={undefined} />
|
||||
<div id="dateSelector">
|
||||
|
Loading…
x
Reference in New Issue
Block a user