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

Fix #27 - Tags #140

Merged
merged 80 commits into from Jan 28, 2017
Merged

Fix #27 - Tags #140

merged 80 commits into from Jan 28, 2017

Conversation

bhagany
Copy link
Contributor

@bhagany bhagany commented Jan 22, 2017

Provides a tags task that creates an html file for each tag found in the :tags metadata of existing html files. The render function provided to the task will be called for each file to be generated a data structure in the same shape as the one provided to the collection task, a map with :entry, :entries and :meta keys.

The assortment task (first discussed in #109) comes along for the ride here, because tags is a subset of assortment.

This will probably conflict with other pull requests that I'm submitting at the same time, but they'll be trivial for me to fix as they get merged.

bhagany and others added 30 commits December 4, 2016 21:17
Also, make arguments a map, to match other pre-wraps
@bhagany
Copy link
Contributor Author

bhagany commented Jan 22, 2017

I should have mentioned - there is one backwards-incompatible change to collection. The groupby option has been removed, because this is covered more natrually by assortment. It can be added back in relatively easily if you prefer.

Copy link
Member

@podviaznikov podviaznikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as before.

Code looks good to me.
Only one ask would be to add use of assortment and paginate tasks into the example project https://github.com/hashobject/perun/tree/master/examples/blog

@bhagany
Copy link
Contributor Author

bhagany commented Jan 25, 2017

The last commit merged #141 here, for conflict avoidance.

@podviaznikov podviaznikov merged commit 7086f1b into hashobject:master Jan 28, 2017
@bhagany bhagany deleted the tags branch January 28, 2017 14:40
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

Successfully merging this pull request may close these issues.

None yet

2 participants