Optionally strip trailing slash
Opened this issue · 1 comments
jamesramsay commented
Expected behaviour on jamesramsay/blog is to link to https://blog.jramsay.com.au/archive#2016-03
, but the jekyll-app-engine output for the handler is:
handlers:
- url: "/archive/"
static_files: _site/archive/index.html
upload: _site/archive/index.html
Output should also support:
handlers:
- url: "/archive"
static_files: _site/archive/index.html
upload: _site/archive/index.html
Trailing slash is the difference between 404 and 200 response.
jamesramsay commented
This is actually caused by Jekyll's permalink style. Dropping the trailing slash is typically handled by nginx or apache.