It seems like Middleman doesn’t like arbitrary periods in filenames. Suppose I write filenames like these:
1.1-introduction.md
1.2-installation.md
The __middleman/sitemap
will produce the following resource information :
Path book/chapter-01/1.1-introduction
URL /book/chapter-01/1.1-introduction
Source File source/book/chapter-01/1.1-introduction.md
Path book/chapter-01/1.1-installation
URL /book/chapter-01/1.1-installation
Source File source/book/chapter-01/1.1-installation.md
As you can see, there is no .html
at the end of the final paths (and this is with directory indexes disabled). When I try to visit one of these paths, I get a printout of the unrendered page source.
Can anyone confirm that periods are not allowed in filenames? Does anybody know of settings or workarounds that will allow them?