Commit 3d75bbbe authored by Eliot Berriot's avatar Eliot Berriot 💬

Added meta description

parent bf95e625
Pipeline #3803 passed with stages
in 2 minutes and 27 seconds
......@@ -22,10 +22,7 @@ export default {
return [
{
name: "description",
content: 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!"
)
content: this.getDescription()
},
{
"http-equiv": "content-language",
......@@ -60,6 +57,12 @@ export default {
"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() {
autodetected = true
let userLanguage =
......
......@@ -38,6 +38,9 @@ export default {
getInnerTitle() {
return this.task.name
},
getDescription () {
return this.task.summary
}
},
watch: {
hash (h) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment