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

Term data doesn't show up when used inside {{ collection:next }}. #1433

Closed
Burans opened this Issue May 24, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@Burans

Burans commented May 24, 2017

Expected behaviour

{{ collection:next }}
    {{ tags }}
        {{ title }} {{ slug }} {{ url }}
    {{ /tags }}
{{ /collection:next }}

The code above should output the terms title, slug and url.

Actual behaviour

Corresponding entries data is outputted instead.

Steps to reproduce

  1. Fresh redwood install.
  2. Insert
<ul class="tags">
    {{ tags }}
        <li><a href="{{ url }}">{{ title }}, {{ url }}, {{ slug }} </a></li>
    {{ /tags }}
</ul>

inside partials/block.html
3. Check a blog posts "Up next" section.

Statamic Version: 2.5.10

@Burans Burans changed the title from Term data doesn't show up when used inside {{ collection }}. to Term data doesn't show up when used inside {{ collection:next }}. May 24, 2017

@jasonvarga jasonvarga closed this Jun 16, 2017

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