Use type import and update page load event handling.
All checks were successful
SteamWarCI Build successful

This commit is contained in:
2025-02-23 09:59:37 +01:00
parent 6d210eb0ff
commit dda37127ca
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
--- ---
import {CollectionEntry} from "astro:content"; import type {CollectionEntry} from "astro:content";
import {l} from "../util/util"; import {l} from "../util/util";
import {astroI18n} from "astro-i18n"; import {astroI18n} from "astro-i18n";
import {Image} from "astro:assets"; import {Image} from "astro:assets";

View File

@ -164,7 +164,7 @@ const ogImage = await getImage({
} }
} }
mountEvent(); document.addEventListener("astro:page-load", mountEvent);
</script> </script>
</article> </article>
</PageLayout> </PageLayout>