use messages in template & add automatic page titling from route name

This commit is contained in:
axolotle
2021-03-10 15:26:44 +01:00
parent fb0c99e444
commit 965112ddbb
5 changed files with 13 additions and 26 deletions
-10
View File
@@ -32,16 +32,6 @@ export default {
TextCard
},
metaInfo () {
return {
title: this.groups.length ? 'Bibliothèque - ' + this.groups[0].id : 'Bibliothèque',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' }
]
}
},
props: {
mode: { type: String, required: true },
texts: { type: Array, required: true }