mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-27 23:13:01 -04:00
(nav) correct highlighting for blog and translinguistics (and for the edge-case of the /undefined 404 route)
This commit is contained in:
parent
0988fcf35d
commit
8efd0717dd
@ -306,11 +306,12 @@ export default {
|
||||
text: this.$t('links.header'),
|
||||
textLong: this.$t('links.headerLong'),
|
||||
extra: [
|
||||
`/${this.$config.links.academicRoute}`,
|
||||
this.$config.links.split ? '' : 'blog',
|
||||
this.$config.links.split ? '' : 'blogEntry',
|
||||
this.$config.links.split ? '' : 'blogEntryShortcut',
|
||||
`/${this.$config.links.mediaRoute}`,
|
||||
this.$config.links.academicRoute ? `/${this.$config.links.academicRoute}` : '',
|
||||
this.$config.links.translinguisticsRoute ? `/${this.$config.links.translinguisticsRoute}` : '',
|
||||
this.$config.links.splitBlog ? '' : 'blog',
|
||||
this.$config.links.splitBlog ? '' : 'blogEntry',
|
||||
this.$config.links.splitBlog ? '' : 'blogEntryShortcut',
|
||||
this.$config.links.mediaRoute ? `/${this.$config.links.mediaRoute}` : '',
|
||||
this.$config.links.split ? `/${this.$config.faq.route}` : '',
|
||||
this.$config.english && this.$config.english.enabled ? `/${this.$config.english.route}` : '',
|
||||
this.$config.links.zine && this.$config.links.zine.enabled ? `/${this.$config.links.zine.route}` : '',
|
||||
|
Loading…
x
Reference in New Issue
Block a user