Prefixing the default post permalink and setting page permalink to the same value doesn't work.
Seems to only affect the local jekyll serve WEBrick server. GitHub Pages, for example, isn't affected.
My Reproduction Steps
- in
_config.yml, set permalink to /blog/:title
- create a page and set its permalink to
/blog
- run
jekyll serve
- visit
localhost:4000/blog
- Note that you are seeing the WEBrick server's directory index, not your page
- visit
localhost:4000/blog.html
- Note that the page does exist
- in
_config.yml, set permalink to /notblog/:title
- rerun
jekyll serve
- visit
localhost:4000/blog
- Note that it works correctly now
The Output I Wanted
I expected that visiting the permalink defined in the page's front matter would display that page.
Related to #3452
Prefixing the default post permalink and setting page permalink to the same value doesn't work.
Seems to only affect the local
jekyll serveWEBrick server. GitHub Pages, for example, isn't affected.github-pagesjekyll doctorto check my configurationMy Reproduction Steps
_config.yml, set permalink to/blog/:title/blogjekyll servelocalhost:4000/bloglocalhost:4000/blog.html_config.yml, set permalink to/notblog/:titlejekyll servelocalhost:4000/blogThe Output I Wanted
I expected that visiting the permalink defined in the page's front matter would display that page.
Related to #3452