Support for :slug in permalinks #317

Merged
merged 17 commits into from Jan 7, 2017

Projects

None yet

2 participants

@thoemmi
Contributor
thoemmi commented Jan 6, 2017

This PR adds support for permalinks as requested in #316.

It generates the slug from the page's title. Additionally it's possible to specify the slug in the page's front matter. Unit tests are included.

thoemmi added some commits Nov 20, 2015
@thoemmi thoemmi Merge remote-tracking branch 'refs/remotes/Code52/master' 63216b3
@thoemmi thoemmi Merge branch 'master' of https://github.com/Code52/pretzel 0fa0394
@thoemmi thoemmi Merge branch 'master' of https://github.com/Code52/pretzel 08295c2
@thoemmi thoemmi Merge branch 'master' of https://github.com/Code52/pretzel b7b2c79
@thoemmi thoemmi Merge branch 'master' of https://github.com/Code52/pretzel c2bdea8
@thoemmi thoemmi Merge branch 'master' of https://github.com/Code52/pretzel 4ab74cc
@thoemmi thoemmi Merge branch 'master' of https://github.com/Code52/pretzel 4e0fda4
@thoemmi thoemmi Merge branch 'master' of https://github.com/Code52/pretzel 2130166
@thoemmi thoemmi Merge branch 'master' of https://github.com/Code52/pretzel 9c5005d
@thoemmi thoemmi Merge branch 'master' of https://github.com/Code52/pretzel 657e5bf
@thoemmi thoemmi Merge branch 'master' of https://github.com/Code52/pretzel eeb39e6
@thoemmi thoemmi Merge branch 'master' of https://github.com/Code52/pretzel a996b6a
@thoemmi thoemmi Merge branch 'master' of https://github.com/Code52/pretzel c76290c
@thoemmi thoemmi Merge branch 'master' of https://github.com/Code52/pretzel 703e02a
@thoemmi thoemmi Merge branch 'master' of https://github.com/Code52/pretzel d89a535
@thoemmi thoemmi support :slug in permalink a293ac7
@thoemmi thoemmi support for custom slug from front matter in permalinks 44070ae
@thoemmi thoemmi changed the title from Support for slug in permalinks to Support for :slug in permalinks Jan 6, 2017
@laedit
Member
laedit commented Jan 7, 2017

Thanks a lot! 😄
I will review it ASAP.

@laedit laedit self-requested a review Jan 7, 2017
@laedit
laedit approved these changes Jan 7, 2017 View changes

This is all good 👍

@laedit laedit merged commit 8ffc7d6 into Code52:master Jan 7, 2017

1 check passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
@thoemmi thoemmi deleted the thoemmi:issue316-slug-in-permalink branch Jan 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment