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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to override a page's permalink #65

Merged
merged 2 commits into from
Jul 20, 2018

Conversation

leolabs
Copy link
Contributor

@leolabs leolabs commented Jan 8, 2017

Using the property permalink in a file's front-matter, its permalink can be overridden. I find this especially useful for transferring old WordPress posts over to my Metalsmith project because I can just set the permalink (including subdirectories) on a per-page basis.

Using the property `permalink` in a file's front-matter, its permalink can be overridden.
@woodyrew
Copy link
Member

Great PR, could you add the functionality to the README and I'll get it merged.

@leolabs
Copy link
Contributor Author

leolabs commented Jul 20, 2018

Done :)

@woodyrew woodyrew merged commit 49f5010 into metalsmith:master Jul 20, 2018
@Ajedi32
Copy link
Member

Ajedi32 commented Jul 20, 2018

Kind of a side issue, but I just noticed this repo doesn't have CI set up; Travis never tested this PR.

@woodyrew
Copy link
Member

I've created #78 but I don't have permissions to turn travis on for the repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants