I passed limit
to a partial in get
tag.
{{> "blocks/block-2" headline='LIFESTYLE' limit='2' filter="tag:getting-started"}}
<!-- row -->
<div class="row">
<div class="col-md-12">
<div class="section-title">
<h2 class="title">{{headline}}</h2>
</div>
</div>
{{#get 'posts' filter="{{filter}}" limit='{{limit}}' include="authors,tags" as |post_repeater| }}
{{#post_repeater}}
<!-- post -->
<div class="col-md-4">
<div class="post post-sm">
<a class="post-img" href="{{ url }}"><img src="{{ feature_image }}" alt=""></a>
<div class="post-body">
<div class="post-category">
{{#foreach tags}}
<a href="{{ url }}">{{ name }}</a>
{{/foreach}}
</div>
<h3 class="post-title title-sm"><a href="{{ url }}">{{ title }}</a></h3>
<ul class="post-meta">
{{#primary_author}}
<li><a href="{{url}}">{{name}}</a></li>
{{/primary_author}}
<li>{{ date }}</li>
</ul>
</div>
</div>
</div>
<!-- /post -->
{{/post_repeater}}
{{/get}}
</div>
<!-- /row -->
But when I put limit value in partials/blocks/block-2.hbs
by hardcoded, then it works.
What should I do now?