Skip to content

Commit db9ba11

Browse files
committed
merge useSeoMeta
1 parent c17e1ba commit db9ba11

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

pages/login.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ definePageMeta({
125125
const { t } = useTranslation()
126126
const config = useRuntimeConfig()
127127
128-
useSeoMeta({ title: t('Connexion') })
128+
useSeoMeta({ title: t('Connexion'), robots: 'noindex' })
129129
130130
const email = ref('')
131131
const password = ref('')
@@ -186,6 +186,4 @@ const connect = async () => {
186186
}
187187
188188
const proconnectUrl = computed(() => `${config.public.apiBase}/api/1/proconnect/login/`)
189-
190-
useSeoMeta({ robots: 'noindex' })
191189
</script>

pages/register.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ const config = useRuntimeConfig()
153153
const { t } = useTranslation()
154154
const route = useRoute()
155155
156-
useSeoMeta({ title: t('S\'enregistrer') })
156+
useSeoMeta({ title: t('S\'enregistrer'), robots: 'noindex' })
157157
158158
const email = ref('')
159159
const password = ref('')

pages/tf-setup.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ definePageMeta({
7575
7676
const { t } = useTranslation()
7777
78-
useSeoMeta({ title: t('Connexion') })
78+
useSeoMeta({ title: t('Connexion'), robots: 'noindex' })
7979
8080
const me = useMe()
8181
@@ -114,6 +114,4 @@ const submit = async () => {
114114
}
115115
})
116116
}
117-
118-
useSeoMeta({ robots: 'noindex' })
119117
</script>

pages/tf-validate.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ definePageMeta({
6161
6262
const { t } = useTranslation()
6363
64-
useSeoMeta({ title: t('Connexion') })
64+
useSeoMeta({ title: t('Connexion'), robots: 'noindex' })
6565
6666
const me = useMe()
6767
@@ -94,6 +94,4 @@ const connect = async () => {
9494
}
9595
})
9696
}
97-
98-
useSeoMeta({ robots: 'noindex' })
9997
</script>

0 commit comments

Comments
 (0)