I am not very used to stash. My code looks like this:
{exp:channel:entries
channel="moebel"
orderby="date"
sort="desc"
dynamic="off"
disable="member_data|trackbacks|pagination"
}
<a href="{path=moebel/{url_title}}" {if url_title == '{segment_2}' OR segment_2 == '' AND count == '1'}class="active"{/if} >{count}</a>
{if count == '1'}
{exp:stash:set name="myurltitle"}{url_title}{/exp:stash:set}
{/if}
{/exp:channel:entries}
This does not work because the variable 'myurltitle' will always be the last url_title of the 10 entries in the channel.
How can I realize this? Thanks!