Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved permalinks for pages and collections #3538

Merged
merged 1 commit into from Mar 4, 2015
Merged

Improved permalinks for pages and collections #3538

merged 1 commit into from Mar 4, 2015

Commits on Mar 4, 2015

  1. Improved permalinks for pages and collections

    This updates the default permalink style for pages and collections to
    match the site-wide 'permalink' setting.  If the permalink setting
    contains a trailing slash, either explicitly or by being set to
    ':pretty', then pages and collections permalinks will contain trailing
    slashes by default as well.  Similarly, if the permalink setting
    contains a trailing ':output_ext', so will pages and collections.  If
    the permalink setting contains neither a trailing slash or extension,
    neither will pages or collections.
    
    This impacts only the default permalink structure for pages and
    collections.  Permalinks set in the frontmatter of an individual page
    take precedence, as does the permalink setting for a specific
    collection.
    
    Fixes #2691
    willnorris committed Mar 4, 2015
    Copy the full SHA
    0d1586a View commit details
    Browse the repository at this point in the history