I am having problems with Stash when using stash: variables in channel conventions.
template.html
{stash:embed name="pages" stash:paginate="y"}
pages.html
{exp:channel:entries channel="page" dynamic="no" limit="{stash:limit}" disable="categories|category_fields|member_data"} <h2>{title}<h2> {if '{stash:paginate}' == 'y'} {!-- pagination code --} {/if} {/exp:channel:entries}
Setting a limit using {stash:limit} works fine, but I can't show / hide pagination using stash:paginate="y" . It seems that pagination is always displayed regardless of the stash variable.
source share