✨ Add titles
This commit is contained in:
@@ -192,6 +192,10 @@ const { data: products } = await useAsyncData(route.path, () => {
|
||||
return queryCollection("products").all();
|
||||
});
|
||||
|
||||
useHead({
|
||||
title: "Solsynth",
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
new Typed("#who-are-we", {
|
||||
strings: [
|
||||
|
@@ -132,6 +132,10 @@ import {
|
||||
import { Octokit } from "@octokit/rest";
|
||||
import { LaunchRound } from "@vicons/material";
|
||||
|
||||
useHead({
|
||||
title: "Solar Network",
|
||||
});
|
||||
|
||||
const latestRelease = useAsyncData("sn-latest-release", async () => {
|
||||
const octo = new Octokit({});
|
||||
const resp = await octo.repos.getLatestRelease({
|
||||
|
@@ -5,6 +5,10 @@ const route = useRoute();
|
||||
const { data: page } = await useAsyncData(route.path, () => {
|
||||
return queryCollection("terms").path(route.path).first();
|
||||
});
|
||||
|
||||
useHead({
|
||||
title: () => page.value?.title || "Terms",
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
Reference in New Issue
Block a user