mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Added unique class name to body tag based on page name
This commit is contained in:
parent
233bce13e4
commit
1e51c44a62
@ -3,6 +3,10 @@ export default {
|
||||
return {
|
||||
htmlAttrs: {
|
||||
lang: this.$i18n.locale()
|
||||
},
|
||||
bodyAttrs: {
|
||||
class: `page-name-${this.$route.name}`
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user