Make sure some action pages don't get indexed

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-11-03 09:47:10 +01:00
parent 54116686c8
commit d89c0fc414
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773
6 changed files with 7 additions and 0 deletions

View file

@ -151,6 +151,7 @@ A button to set your participation
> >
</b-dropdown> </b-dropdown>
<b-button <b-button
rel="nofollow"
tag="router-link" tag="router-link"
:to="{ :to="{
name: RouteName.EVENT_PARTICIPATE_LOGGED_OUT, name: RouteName.EVENT_PARTICIPATE_LOGGED_OUT,
@ -164,6 +165,7 @@ A button to set your participation
> >
<b-button <b-button
tag="router-link" tag="router-link"
rel="nofollow"
:to="{ :to="{
name: RouteName.EVENT_PARTICIPATE_WITH_ACCOUNT, name: RouteName.EVENT_PARTICIPATE_WITH_ACCOUNT,
params: { uuid: event.uuid }, params: { uuid: event.uuid },

View file

@ -31,6 +31,7 @@ import { IEvent } from "@/types/event.model";
metaInfo() { metaInfo() {
return { return {
title: this.$t("Participation with account") as string, title: this.$t("Participation with account") as string,
meta: [{ name: "robots", content: "noindex" }],
}; };
}, },
}) })

View file

@ -158,6 +158,7 @@ import { ApolloCache, FetchResult } from "@apollo/client/core";
metaInfo() { metaInfo() {
return { return {
title: this.$t("Participation without account") as string, title: this.$t("Participation without account") as string,
meta: [{ name: "robots", content: "noindex" }],
}; };
}, },
}) })

View file

@ -133,6 +133,7 @@ import RouteName from "../../router/name";
metaInfo() { metaInfo() {
return { return {
title: this.$t("Unlogged participation") as string, title: this.$t("Unlogged participation") as string,
meta: [{ name: "robots", content: "noindex" }],
}; };
}, },
}) })

View file

@ -158,6 +158,7 @@ import AuthProviders from "../../components/User/AuthProviders.vue";
return { return {
title: this.$t("Login on Mobilizon!") as string, title: this.$t("Login on Mobilizon!") as string,
titleTemplate: "%s | Mobilizon", titleTemplate: "%s | Mobilizon",
meta: [{ name: "robots", content: "noindex" }],
}; };
}, },
}) })

View file

@ -60,6 +60,7 @@ import RouteName from "../../router/name";
metaInfo() { metaInfo() {
return { return {
title: this.$t("Resend confirmation email") as string, title: this.$t("Resend confirmation email") as string,
meta: [{ name: "robots", content: "noindex" }],
}; };
}, },
}) })