Skip to content

Why should a page pathLocale be customizable #12

Closed Answered by DreamOfIce
Mister-Hope asked this question in Q&A
Discussion options

You must be logged in to vote

The root cause is: for auto-filled (I can't find a better expr at the moment) untranslated pages, we can only set the filePathRelative in the extendsPage hook.
This also causes the pathLocale property to always be /, so we have to override it manually

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@Mister-Hope
Comment options

@Mister-Hope
Comment options

@DreamOfIce
Comment options

Answer selected by DreamOfIce
@DreamOfIce
Comment options

@Mister-Hope
Comment options

@DreamOfIce
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants