hugo: Periods generating bad paths
This issue is similar to #1188. If the permalink uses the title of the post and the title has a period in it, it generates some weird paths.
I expect title: testdot.
to create testdot/index.html
instead I get testdot/index
. I experimented with a few different variations and they all give me weird results.
title: test.dot
-> test/index.dot
title: .testdot
-> /index.testdot
(no folder)
The same thing seems to happen if using slug or filename in the permalink. If you have two, like :slug/:title
it’ll do the first fine but the end will still be wrong, making slug & title: test.dot
generate test.dot/test/index.dot
. Strangely enough it doesn’t happen if I make a section called test.dot and set the permalink to :section. I’ve also tried with a few other symbols, but they all seem to work just fine.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 20 (8 by maintainers)
@wendigo, Yes, notice the “thumbs up” on your previous comment. I just haven’t had time to look into a fix.
https://github.com/wendigo/hugo-taxonomy-dot