Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Repro for build issue with content in subdirectories #1168

Merged
merged 1 commit into from Sep 26, 2017
Merged

Repro for build issue with content in subdirectories #1168

merged 1 commit into from Sep 26, 2017

Conversation

tleef
Copy link

@tleef tleef commented Sep 26, 2017

When in dev, everything works fine however, when you build this example, content that is nested in subdirectories will not be found. The reason being that the files associated with this content are missing in the dist folder that is generated.

The content folder looks like this

content/
-pages/
--about.md
-posts/
--tech/
---first-post.md
---third-post.md
---fifth-post.md
--photography/
---second-post.md
---fourth-post.md

And the dist folder that is generated should look like this but the files/folders that I've marked are missing

dist/
-index.html
-about/
--index.html
-tech/
--index.html
--first-post/ **missing**
---index.html **missing**
--third-post/ **missing**
---index.html **missing**
--fifth-post/ **missing**
---index.html **missing**
-photography/
--index.html
--second-post/ **missing**
---index.html **missing**
--fourth-post/ **missing**
---index.html **missing**
-phenomic/
--pages/
---item/
----about.json
--posts/
---by-default/
----(more files and folders here, all are correct, not relevant)
---tech/
----by-default/
-----(more files and folders here, all are correct, not relevant)
----item/ **missing**
-----first-post.json **missing**
-----third-post.json **missing**
-----fifth-post.json **missing**
---photography/
----by-default/
-----(more files and folders here, all are correct, not relevant)
----item/ **missing**
-----second-post.json **missing**
-----fourth-post.json **missing**

I hope this helps, let me know if you have trouble reproducing

@MoOx MoOx changed the base branch from master to repro-1168 September 26, 2017 08:33
@MoOx MoOx merged commit ea1c597 into MoOx:repro-1168 Sep 26, 2017
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.

None yet

2 participants