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

Allow Content Organized By Folders #71

Open
elwayman02 opened this issue Jul 17, 2020 · 2 comments
Open

Allow Content Organized By Folders #71

elwayman02 opened this issue Jul 17, 2020 · 2 comments
Labels
awaiting reply Further information is requested

Comments

@elwayman02
Copy link
Contributor

In order to better organize content as the amount of content scales, I'd like to be able to place the posts in sub-directories within the content/ folder. empress-blog should continue to be able to load these posts, since all necessary metadata is contained within the headers of the posts themselves and file structure is unimportant to the generation of the blog.

However, if you try to do this, it throws an error attempting to build the app. It appears that empress-blog is built upon the assumption of a flat content/ file structure at this time.

@mansona mansona added the awaiting reply Further information is requested label Jul 20, 2020
@mansona
Copy link
Member

mansona commented Jul 20, 2020

We chatted about this on Discord, I would be curious to know that the error is (if it's a build error and where it comes from etc.) because as far as I'm aware there should be nothing explicitly disallowing the use of folders 🤔 it should "just work" but the ids of the posts would have a / in them and I don't know what that would do for direct URLs 🤔

@elwayman02
Copy link
Contributor Author

elwayman02 commented Aug 2, 2020

Build Error (AuthorsArray)

ENOENT: no such file or directory, open '/var/folders/2c/f1fdc1s97n5g0vq2068hggww0000gn/T/broccoli-64172uIIfLarRRkg1/out-293-authors_array/issue-4/ada-lockwood-for-state-representative.md'


Stack Trace and Error Report: /var/folders/2c/f1fdc1s97n5g0vq2068hggww0000gn/T/error.dump.ef0cb802a76d16dd871d294ef2270c7d.log

Example: https://github.com/elwayman02/weevil-news/compare/sample-folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting reply Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants