Skip to content
Snippets Groups Projects
Unverified Commit e31c69f2 authored by Patrick M. Niedzielski's avatar Patrick M. Niedzielski
Browse files

Support permalinks with no extension or slash

Jekyll supports extensionless permalinks with no trailing slash [1],
as in the following:

  /year/month/slug

For such a permalink, Jekyll generates a file `/year/month/slug.html`
and assumes the web server will play nicely and serve this file when
it receives a request for `/year/month/slug`.

This patch adds support for such permalinks for files Pandoc-generated
files in other formats, with the generated URLs having a form
mirroring the generated HTML files:

  /year/month/slug.format

[1]: https://jekyllrb.com/docs/permalinks/#extensionless-permalinks
parent 67e09e03
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment