fix(gallery): missing page title if navigating directly to /gallery

This commit is contained in:
2026-02-25 23:05:12 +01:00
parent 0ea778bd16
commit ece1acf6bd

View File

@@ -4,6 +4,10 @@ import type { InternalApi } from "nitropack/types";
import { promiseTimeout, useElementSize } from "@vueuse/core"; import { promiseTimeout, useElementSize } from "@vueuse/core";
import gsap from "gsap"; import gsap from "gsap";
useHead({
title: "Gallery - Pihkaal",
});
const { data: images } = await useAsyncData( const { data: images } = await useAsyncData(
"gallery", "gallery",
() => $fetch("/api/gallery"), () => $fetch("/api/gallery"),