Merge branch 'master' of ssh://git.cyclocoop.org/cyclowiki
[cyclowiki.git] / templates / trails.tmpl
1 <TMPL_LOOP TRAILLOOP>
2 <TMPL_IF __FIRST__><TMPL_IF HTML5><nav class="trails"><TMPL_ELSE><div class="trails"></TMPL_IF></TMPL_IF>
3 <div class="trail">
4 <TMPL_IF PREVPAGE>
5 <span class="trailprev">
6 <span class="trailarrow">←</span>
7 <a href="<TMPL_VAR PREVURL>"><TMPL_VAR PREVTITLE></a>
8 <span class="trailsep">|</span>
9 </span>
10 </TMPL_IF>
11 <span class="trailup">
12 <a href="<TMPL_VAR TRAILURL>"><TMPL_VAR TRAILTITLE></a>
13 </span>
14 <TMPL_IF NEXTPAGE>
15 <span class="trailnext">
16 <span class="trailsep">|</span>
17 <a href="<TMPL_VAR NEXTURL>"><TMPL_VAR NEXTTITLE></a>
18 <span class="trailarrow">→</span>
19 </span>
20 </TMPL_IF>
21 </div>
22 <TMPL_IF __LAST__><TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF></TMPL_IF>
23 </TMPL_LOOP>