summaryrefslogtreecommitdiff
path: root/.templates
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2011-11-04 19:32:41 +0000
committerThomas Schwinge <thomas@schwinge.name>2014-03-09 19:29:38 +0100
commit78202a6045b349d33e66cc974e90cddd0b017813 (patch)
tree6979f6226cac649cef9dac0a0a8dd67a4da6aaa8 /.templates
parentdbe70608848cc0cb98737c4285c2e46108c29388 (diff)
trail: new plugin (3rd attempt)
(cherry picked from commit 156f70912213b6520e9056050a8827de66e80176)
Diffstat (limited to '.templates')
-rw-r--r--.templates/page.tmpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/.templates/page.tmpl b/.templates/page.tmpl
index 5192138a..343f89dd 100644
--- a/.templates/page.tmpl
+++ b/.templates/page.tmpl
@@ -27,6 +27,15 @@
<TMPL_IF FEEDLINKS><TMPL_VAR FEEDLINKS></TMPL_IF>
<TMPL_IF RELVCS><TMPL_VAR RELVCS></TMPL_IF>
<TMPL_IF META><TMPL_VAR META></TMPL_IF>
+<TMPL_LOOP TRAILLOOP>
+<TMPL_IF PREVPAGE>
+<link rel="prev" href="<TMPL_VAR PREVURL>" title="<TMPL_VAR PREVTITLE>" />
+</TMPL_IF>
+<link rel="up" href="<TMPL_VAR TRAILURL>" title="<TMPL_VAR TRAILTITLE>" />
+<TMPL_IF NEXTPAGE>
+<link rel="next" href="<TMPL_VAR NEXTURL>" title="<TMPL_VAR NEXTTITLE>" />
+</TMPL_IF>
+</TMPL_LOOP>
</head>
<body>
@@ -109,6 +118,8 @@
<TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
</TMPL_IF>
+<TMPL_VAR TRAILS>
+
<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
<TMPL_IF SIDEBAR>