mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-24 05:05:20 -04:00
[tok] Fix pronoun links: add prefix, don't force lowercase
This commit is contained in:
parent
15f567c91a
commit
022efb90fc
@ -86,7 +86,7 @@
|
||||
|
||||
<ExpandableList :values="pronounOpinions" :limit="16" class="list-unstyled" :static="static" :expand="expandLinks">
|
||||
<template v-slot="s">
|
||||
<Opinion :word="typeof s.el.pronoun === 'string' ? s.el.pronoun : s.el.pronoun.name(glue)" :opinion="s.el.opinion" :link="`/${s.el.link}`" :customOpinions="profile.opinions"/>
|
||||
<Opinion :word="typeof s.el.pronoun === 'string' ? s.el.pronoun : s.el.pronoun.name(glue)" :opinion="s.el.opinion" :link="`${config.pronouns.prefix || ''}/${s.el.link}`" :customOpinions="profile.opinions"/>
|
||||
</template>
|
||||
</ExpandableList>
|
||||
</div>
|
||||
@ -191,7 +191,7 @@
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!link.startsWith(':')) {
|
||||
if (!link.startsWith(':') && this.config.locale !== 'tok') {
|
||||
link = link.toLowerCase();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user