Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Fix frontmatters relative path #18

Merged
merged 3 commits into from
Sep 6, 2019

Conversation

aymericbeaumet
Copy link
Owner

@aymericbeaumet aymericbeaumet commented Sep 6, 2019

Closes #13

Metalsmith does not keep leading slashes in the way it represents files in memory. This causes an issue where using filepaths as either source or destination will unexpected behaviours.

This PR makes sure a leading slash is prepended when creating the redirections.

@aymericbeaumet aymericbeaumet self-assigned this Sep 6, 2019
@aymericbeaumet aymericbeaumet merged commit 3caf240 into master Sep 6, 2019
@aymericbeaumet aymericbeaumet deleted the fix-frontmatters-relative-path branch September 6, 2019 12:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

set redirection in markdown frontmatter
1 participant