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 terms don't resolve with {{ entries }} tag for mounted collection #1254

Closed
lukeagsmith opened this Issue Feb 12, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@lukeagsmith

lukeagsmith commented Feb 12, 2017

With a mounted collection you can use {{ entries }} instead of {{ collection:foo }}

Inside a {{ collection }} tag, {{ tags }}{{ title }}{{ /tags }} will show the titles for the tags taxonomy.

In an {{ entries }} tag, {{ tags }}{{ title }}{{ /tags }} will just show the title of the entry

Steps to reproduce

  1. open default Redwood theme
  2. add {{ tags }}{{ title }},{{ /tags }} to partials/block.html
  3. view /blog - works fine
  4. change {{ collection:blog }} to {{ entries }} in templates/blog/index.html
  5. view /blog - shows post title instead of taxonnomy term
@jasonvarga

This comment has been minimized.

Member

jasonvarga commented Feb 13, 2017

Good catch! Fixed for next release.

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