jekyll / jekyll-archives

:books: Archive pages for your Jekyll tags and categories.
https://jekyll.github.io/jekyll-archives/
MIT License
438 stars 99 forks source link

Create new placeholder #166

Open ddomdel opened 2 years ago

ddomdel commented 2 years ago

Is it possible to create a new placeholder which "sees" the frontmatter of a post under a category?

Because, currently, I can only access the :name placeholder, as you can see below in the permalinks

My goal is to make the /categories/ in the /categories/:name dynamic. In this case, accessing a frontmatter from a post.

jekyll-archives:
  enabled:
    - categories
    - tags
  layouts:
    category: archive-taxonomy
    tag: archive-taxonomy
  permalinks:
    category: /categories/:name/
    tag: /tags/:name/