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

Taxonomy generator #57

Closed
yosymfony opened this Issue Sep 26, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@yosymfony
Copy link
Member

yosymfony commented Sep 26, 2015

Taxonomy is a way to group things together. The taxonomy generator lets you group some items around a term. This generator uses pagination generator for generating multiple pages for each term.

How to configure?

At the front matter block of the template page or at its metadata file:

 ---
 layout: default
 generator: taxonomy
 max_page: 5
 taxonomy_attribute: 'categories'
 permalink: '/:name'
 pagination_permalink: '/page:num'
 ---
  • max_page: items per page (used by pagination generator).
  • taxonomy_attribute: The attribute name that contains the list of terms or taxons.
  • permalink: permalink style for each page of a term.
  • pagination_permalink: permalink style for multiples pages of a term.

Deals with #37

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