This commit is contained in:
Will Boyd
2020-12-30 15:43:19 -05:00
parent 56bbc4f16b
commit 7e54dc43f6
+1 -1
View File
@@ -162,7 +162,7 @@ function getPostPath(post, config) {
// start with base output dir // start with base output dir
const pathSegments = [config.output]; const pathSegments = [config.output];
// create fragment for post type if we're dealing with more than just "post" // create segment for post type if we're dealing with more than just "post"
if (config.includeOtherTypes) { if (config.includeOtherTypes) {
pathSegments.push(post.meta.type); pathSegments.push(post.meta.type);
} }