summaryrefslogtreecommitdiff
path: root/templates/pages/show.mako
diff options
context:
space:
mode:
Diffstat (limited to 'templates/pages/show.mako')
-rw-r--r--templates/pages/show.mako22
1 files changed, 12 insertions, 10 deletions
diff --git a/templates/pages/show.mako b/templates/pages/show.mako
index cf14638..aa67768 100644
--- a/templates/pages/show.mako
+++ b/templates/pages/show.mako
@@ -31,16 +31,18 @@
<span class="navdate">${date}</span>
</a>
-<%
- if e.date.month == 13 - len(exps):
- date = "%s/1" % (e.date.year + 1)
- else:
- date = "%s/%s" % (e.date.year, e.date.month + len(exps))
-%>
-<a id="right" href=${"/" + date | url}>
- <span class="navdate">${date}</span>
- <img src=${"/static/images/arrow_right.png" | url}/>
-</a>
+% if not is_last:
+ <%
+ if e.date.month == 13 - len(exps):
+ date = "%s/1" % (e.date.year + 1)
+ else:
+ date = "%s/%s" % (e.date.year, e.date.month + len(exps))
+ %>
+ <a id="right" href=${"/" + date | url}>
+ <span class="navdate">${date}</span>
+ <img src=${"/static/images/arrow_right.png" | url}/>
+ </a>
+% endif
<%def name="heading()">
% if len(exps) > 1: