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

tag pages #803

floreal opened this issue Jan 17, 2016 · 1 comment

tag pages #803

floreal opened this issue Jan 17, 2016 · 1 comment


Copy link

floreal commented Jan 17, 2016

Hi, I wrote this:
But that I need to call create_tag_pages in preporcess section of Rules file. I'd like to turn it into a datasorce so that this call wouldn't be needed anymore and then I could make a pull request.

The problem I need other datasources before using that one so that reading tags will be easy using @items variable.

Do you think there is a way to do it ?
Would it need a big change in nanoc codebase ?
Or should I provide a pull request with this snippet as is even if end user will need to use preprocess section in his Rules file ?


@floreal floreal changed the title tags page tag pages Jan 17, 2016
Copy link

Data sources aren’t designed to generate items (or layouts) based on what other data sources provide.

The recommended approach is to do what you are already doing, which is using the preprocessor to generate these pages.

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

No branches or pull requests

2 participants