You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Navigation relies on the the converted foldernames, it means there is no way to have a page with a unicode title.
It seems Ruby has these notorious unicode issues, so perhaps a solution would be, to add a manual override of the default behaviour for extracting navigation items. E.g. in the case of the presence of a specially named .yml file, read the name and title from from that file, instead of inferring it from the parent foldername?
The text was updated successfully, but these errors were encountered:
If a folder in content contains unicode characters, it fails to match in
Page.find
on this line of code:disk_path = Dir["#{path}/*#{search_path}/*.yml"]
I'm not sure how to fix it, but it seems
Dir
is a bit allergic to this sort of thing.Example (using bonsai's support content with added folder):
Since
Navigation
relies on the the converted foldernames, it means there is no way to have a page with a unicode title.It seems Ruby has these notorious unicode issues, so perhaps a solution would be, to add a manual override of the default behaviour for extracting navigation items. E.g. in the case of the presence of a specially named
.yml
file, read the name and title from from that file, instead of inferring it from the parent foldername?The text was updated successfully, but these errors were encountered: