"/" = '/:filename/'
has no effect,
http://localhost:1313/docs/history/purity_spiral/ still applies and
http://localhost:1313/purity_spiral/ doesn’t. Did I make a mistake ?
url: "/custom/foo" in frontmatters work though… I just prefer the automatic way.
That only affects pages in the root section unfortunately. You can target the sections directly instead:
docs = '/:filename/'
history = '/:filename/'
Note that I tested it and the latter, despite targeting the subsection (history), will change the permalinks for all parent section (docs) pages as well. This may or may not be what you want.
docs = '/:filename/'`
did the trick. Lastly, I wish there was a :lang: in Permalink configuration values.
Put the permalinks key under the language key.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.