Changing templates output directory #1801
Answered
by
pdehaan
avidseeker
asked this question in
Q&A
-
Structure:
When serving the site, the post permalinks are Note: I transferring posts to |
Beta Was this translation helpful? Give feedback.
Answered by
pdehaan
May 29, 2021
Replies: 1 comment
-
@avidseeker Try creating a /src/posts/posts.json file with the following: {
"permalink": "/{{ page.fileSlug }}/"
} This will set the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
avidseeker
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@avidseeker Try creating a /src/posts/posts.json file with the following:
This will set the
permalink
key in each template of your /src/posts/ folder to the template'sfileSlug
and move the generated files into the root directory.