leoncvlt / loconotion

📄 Python tool to turn Notion.so pages into lightweight, customizable static websites
840 stars 132 forks source link

Configurable extension in links #102

Closed 2m closed 2 years ago

2m commented 2 years ago

GitHub Pages resolves links without .html extension by automatically adding the extension back. This PR adds a configuration parameter that controls whether or not to add .html extension to the links in the page sources.

This results in neat and short slug support like an example here: https://nemunasring.lt/winter-season

leoncvlt commented 2 years ago

That's great! Do you think this should be documented in the example config / README?