diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-11-27 11:20:59 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-11-27 12:26:58 +0200 |
commit | 193673fa4ca986a8503dded44019f3b0eac30084 (patch) | |
tree | 441a292813ee0b009b995da8a28cbf9619f29778 /templates/trails.tmpl | |
parent | 0fcccd0e80382492b7346a2f13ca593577855418 (diff) | |
download | obnam.org-193673fa4ca986a8503dded44019f3b0eac30084.tar.gz |
add local copies of ikiwiki templates
Diffstat (limited to 'templates/trails.tmpl')
-rw-r--r-- | templates/trails.tmpl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/trails.tmpl b/templates/trails.tmpl new file mode 100644 index 0000000..54c0460 --- /dev/null +++ b/templates/trails.tmpl @@ -0,0 +1,23 @@ +<TMPL_LOOP TRAILLOOP> +<TMPL_IF __FIRST__><TMPL_IF HTML5><nav class="trails"><TMPL_ELSE><div class="trails"></TMPL_IF></TMPL_IF> +<div class="trail"> +<TMPL_IF PREVPAGE> +<span class="trailprev"> +<span class="trailarrow">←</span> +<a href="<TMPL_VAR PREVURL>"><TMPL_VAR PREVTITLE></a> +<span class="trailsep">|</span> +</span> +</TMPL_IF> +<span class="trailup"> +<a href="<TMPL_VAR TRAILURL>"><TMPL_VAR TRAILTITLE></a> +</span> +<TMPL_IF NEXTPAGE> +<span class="trailnext"> +<span class="trailsep">|</span> +<a href="<TMPL_VAR NEXTURL>"><TMPL_VAR NEXTTITLE></a> +<span class="trailarrow">→</span> +</span> +</TMPL_IF> +</div> +<TMPL_IF __LAST__><TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF></TMPL_IF> +</TMPL_LOOP> |