Hello forum,
I’d like to navigate via timeline. Therefore I have 2 fields:
- “erstellt” (date for better reading)
- “published” (=converted “erstellt” field)

This are my Test tiddlers:

Now it shows always the field of the current tiddler in the navigation.
How do I show the correct “erstellt” field of the tiddler in the navigation?
I tried to transclude, but wasn’t successful 
<% if [<currentTiddler>has[erstellt]] %>
<$let
published = {{!!published}}
prev = {{{ [has[published]sort[published]] :filter[get[published]compare::lt<published>] +[last[]] }}}
next = {{{ [has[published]sort[published]] :filter[get[published]compare::gt<published>] +[first[]] }}}
>
<nav class="footer">
<div class="prev"><% if [<prev>!match[]] %>
<$link to=<<prev>> > <span style="color: rgb(255, 201, 102)">← </span><<prev>> <span style="font-size: 70%; color: rgb(144, 238, 144)"><$view field="published" format="date" template="DD. MMM YYYY"/></span></$link>
<% endif %> </div>
<div class="next"><% if [<next>!match[]] %>
<$link to=<<next>> > <<next>> <span style="font-size: 70%; color: rgb(144, 238, 144)"><$view field="published" format="date" template="DD. MMM YYYY"/></span> <span style="color: rgb(255, 201, 102)"> → </span></$link>
<% endif %> </div>
</nav>
</$let>
<% endif %>
<style>
nav.footer {
display: flex;
padding-top: 0.6em;
font-size: 90%;
flex-direction: row;
.prev, .next, .up {flex: 0 0 auto; width: 50%;}
.next {text-align: right;}
}
</style>
Thanks for feedback
Stefan