Skip to content

Commit

Permalink
fix(pages): improve title
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed Aug 23, 2023
1 parent ff0b383 commit 6e6257d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { I18N_MODULE_CONFIG } from '@dargmuesli/nuxt-vio/utils/constants'

const SITE_NAME = 'Jonas Thelemann'
import { SITE_NAME } from './utils/constants'

export default defineNuxtConfig({
app: {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/api/pages/oauth.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const copy = async () => {
}
// initialization
useSeoMeta({ title: 'OAuth' })
useHeadDefault({ title: 'OAuth' })
</script>

<i18n lang="yaml">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ onMounted(() => indicateLoadingDone())
// initialization
await init()
useSeoMeta({ title: 'Jonas Thelemann' })
useHeadDefault({ title: SITE_NAME })
</script>

<i18n lang="yaml">
Expand Down
1 change: 1 addition & 0 deletions src/utils/constants.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const SITE_NAME = 'Jonas Thelemann'

0 comments on commit 6e6257d

Please sign in to comment.