Test prefetch

This commit is contained in:
Firq 2024-10-22 23:07:34 +02:00
parent da582980b9
commit aadbe9f1c3
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
2 changed files with 3 additions and 1 deletions

View file

@ -1,7 +1,7 @@
{ {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"type": "module", "type": "module",
"version": "0.2.0-pre.23", "version": "0.2.0-pre.24",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",

View file

@ -1,5 +1,6 @@
--- ---
import "@fontsource-variable/work-sans"; import "@fontsource-variable/work-sans";
import workSans from "@fontsource-variable/work-sans/files/work-sans-latin-wght-normal.woff2"
import Navbar from '../components/navbar/navbar.astro' import Navbar from '../components/navbar/navbar.astro'
import NavbarEntry from '../components/navbar/navbarEntry.astro' import NavbarEntry from '../components/navbar/navbarEntry.astro'
@ -73,6 +74,7 @@ const mapped_navdata = navdata.map((item) => ({
<!-- Disable DarkReader, as site is already in dark mode --> <!-- Disable DarkReader, as site is already in dark mode -->
<meta name="darkreader-lock" content="this site only has darkmode"> <meta name="darkreader-lock" content="this site only has darkmode">
<!-- Links --> <!-- Links -->
<link rel="preload" as="font" crossorigin="anonymous" href={workSans} type="font/woff2"/>
<link rel="icon" type="image/ico" href="/favicon.ico" /> <link rel="icon" type="image/ico" href="/favicon.ico" />
<link rel="sitemap" href="/sitemap-index.xml" /> <link rel="sitemap" href="/sitemap-index.xml" />
<link href="https://mastodon.neshweb.net/@Firq" rel="me" /> <link href="https://mastodon.neshweb.net/@Firq" rel="me" />