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

Preview site.data unavailable #1057

Open
jburton-scottlogic opened this issue Nov 10, 2017 · 0 comments
Open

Preview site.data unavailable #1057

jburton-scottlogic opened this issue Nov 10, 2017 · 0 comments

Comments

@jburton-scottlogic
Copy link

When previewing content, is it possible to make the site.data object populated? Content that will be available via Jekyll will parse the _data folder and add any .yml (amongst other) files into site.data for use (e.g. categories).

Without the site.data object, previews that rely on the data can look distorted and I feel this would benefit many users. I have read the documentation regarding the use of JSONP files to make data available but it doesn't really meet the needs.

This field accepts a list of absolute .JSONP paths to content that is loaded during Jekyll live previews. This is particularly useful for building out tags or categories that should be present during preview.

Has anyone else come accross this issue or think they would find it beneficial?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant