Skip to content
Snippets Groups Projects
Verified Commit 3d75bbbe authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Added meta description

parent bf95e625
No related branches found
No related tags found
No related merge requests found
Pipeline #3803 passed
...@@ -22,10 +22,7 @@ export default { ...@@ -22,10 +22,7 @@ export default {
return [ return [
{ {
name: "description", name: "description",
content: this.$pgettext( content: this.getDescription()
"Content/Home/Header",
"Funkwhale contribution guides: help us improve Funkwhale with translations, documentation, feedback, communication… You don't need to be a developper to help!"
)
}, },
{ {
"http-equiv": "content-language", "http-equiv": "content-language",
...@@ -60,6 +57,12 @@ export default { ...@@ -60,6 +57,12 @@ export default {
"Contribute to Funkwhale development" "Contribute to Funkwhale development"
); );
}, },
getDescription () {
return this.$pgettext(
"Content/Home/Header",
"Funkwhale contribution guides: help us improve Funkwhale with translations, documentation, feedback, communication… You don't need to be a developper to help!"
)
},
autodetectLanguage() { autodetectLanguage() {
autodetected = true autodetected = true
let userLanguage = let userLanguage =
......
...@@ -38,6 +38,9 @@ export default { ...@@ -38,6 +38,9 @@ export default {
getInnerTitle() { getInnerTitle() {
return this.task.name return this.task.name
}, },
getDescription () {
return this.task.summary
}
}, },
watch: { watch: {
hash (h) { hash (h) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment