mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-24 05:05:20 -04:00
(blog) replace hardcoded link to /blog with configured value
This commit is contained in:
parent
f26a75dec2
commit
08721e96fb
@ -77,7 +77,7 @@ export default {
|
||||
generateLink(slug) {
|
||||
return this.shortcuts[slug] !== undefined && !(this.$config.blog.keepFullPath || []).includes(slug)
|
||||
? `/${this.shortcuts[slug]}`
|
||||
: `/blog/${slug}`;
|
||||
: `/${this.$config.links.blogRoute}/${slug}`;
|
||||
},
|
||||
},
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user