mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-20 20:01:25 +00:00
display contribution name in page title for better back navigation and bookmarking
This commit is contained in:
parent
d0036213d8
commit
530c06f30e
@ -91,15 +91,21 @@ export default {
|
||||
HcAuthor,
|
||||
HcShoutButton
|
||||
},
|
||||
|
||||
head() {
|
||||
return {
|
||||
title: this.title
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
post: null
|
||||
post: null,
|
||||
title: 'loading'
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
Post(post) {
|
||||
this.post = post[0]
|
||||
this.title = this.post.title
|
||||
}
|
||||
},
|
||||
apollo: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user