Skip to content

Commit 303fdef

Browse files
committed
Fix home page title
1 parent e050628 commit 303fdef

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

‎frontend/app/app.vue‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ const { public: config } = useRuntimeConfig();
4444
const logo = computed(() => store.theme === 'light' ? 'mws_logo_black.svg' : 'mws_logo_white.svg');
4545
4646
useHeadSafe({
47-
titleTemplate: (titleChunk) => {
48-
return titleChunk ? `${titleChunk} | ModWorkshop` : 'ModWorkshop';
49-
},
47+
// titleTemplate: (titleChunk) => {
48+
// return titleChunk ? `${titleChunk} | ModWorkshop` : 'ModWorkshop';
49+
// },
5050
htmlAttrs: {
5151
class: computed(() => `${store.theme} ${store.colorScheme}-scheme`),
5252
lang: locale.value ?? 'en'

‎frontend/app/pages/index.vue‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@
4949
</template>
5050

5151
<script setup lang="ts">
52+
useHead({
53+
titleTemplate: () => {
54+
return 'ModWorkshop';
55+
}
56+
});
57+
5258
import { useStore } from '~/store';
5359
5460
const { user, games } = storeToRefs(useStore());

0 commit comments

Comments
 (0)