Skip to content
This repository was archived by the owner on Jun 25, 2020. It is now read-only.
This repository was archived by the owner on Jun 25, 2020. It is now read-only.

Extensionless permalinks #244

@WalkerCodeRanger

Description

@WalkerCodeRanger

I tried to use pretzel 0.2.1.169 (build 175) which I downloaded from Appveyor (non script cs zip) on my github pages site that I had been using with Jekyll from a year ago (Feb-April 2014) and discovered the following. I have reproduced it using the sample project.

Extensionless permalinks as described in the Jekyll docs don't work right (note: the docs say this is a pre-release feature, but I don't think that is correct, because I was using this feature a year ago from jekyll on windows and in windows you must install an old version of jekyll because all the other versions don't work on windows). Permalinks with a trailing slash '/' are fine. However, permalinks without one generate files without extensions, they should behave the same as ones with a trailing slash.

Steps to reproduce

  1. pretzel create
  2. edit _config.yaml add permalink: /blog/:year/:month/:title to the end
  3. pretzel bake

You will then find that the blog post is in the file _site\blog\2015\05\myfirstpost with no extension. It should be in _site\blog\2015\05\myfirstpost\index.html.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions