Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Support subdirectories in _data #2082

Closed
penibelst opened this Issue · 7 comments

4 participants

@penibelst

I would like to embed a git submodule inside the _data directory. Like a shared database for several projects. Correct me if I’m wrong, but it’s impossible until Jekyll can read files inside of data subdirectories.

@parkr
Owner

Right now, we're only reading yaml files directly inside _data, not in subdirectories. There are a lot of questions as to how we namespace them in Liquid and such. If you have time for a PR, I have time to review it! :)

@parkr parkr added the Suggestion label
@penibelst

If you have time for a PR, I have time to review it!

Sorry, this is too difficult for me.

@kevinSuttle

I'd add that JSON would be nice, like Middleman. http://middlemanapp.com/advanced/local-data/

@parkr
Owner

Sorry, this is too difficult for me.

Alright, we'll punt on this for 2.0.0 and revisit it for future versions of Jekyll.

@rdumont

This seems pretty straightforward to implement. Since I really need this feature, I'll have my first go with Ruby here. Unless someone is already doing it, of course.

@parkr
Owner

@rdumont No one else is doing it as far as I know. Hack away!

@penibelst

Implemented in #2395

@penibelst penibelst closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.