kkga / ter

A tiny wiki-style site generator with Zettelkasten flavor.
https://ter.kkga.me
MIT License
96 stars 6 forks source link

Incorrectly index when folder name is not English #51

Closed thangisme closed 11 months ago

thangisme commented 11 months ago

If I name my folder in Vietnamese, I'd build two different folder . For example, "Việt Nam" would be "Viet-Nam" and the original name. However, the index web page will link to the url point at "Viet-Nam" folder while "Việt Nam" folder is where all content are built . Accessing url at "Việt Nam" return 404 even if that folder exist

thangisme commented 11 months ago

I'd suggest you add an option in index file for folder to set it title instead of using folder name

kkga commented 11 months ago

add a file named index inside the folder and use markdown frontmatter to set the title to whatever you need.

thangisme commented 11 months ago

add a file named index inside the folder and use markdown frontmatter to set the title to whatever you need.

Can you make it so that the top navigation menu also display the title in the index file? Currently, it display folder name even if title is set

kkga commented 11 months ago

I can't at the moment. Contributions welcome.