]> git.decadent.org.uk Git - memories.git/blobdiff - templates/calendar
Merged upstream v1.2.
[memories.git] / templates / calendar
index 700072f8f40e5f747bf54d53877ffae8fa55ab46..c71bf824e02e6b12f67eae30cd8a46d37ca55b34 100644 (file)
@@ -9,12 +9,12 @@
 [% SET calendar = request.calendar(date.ymd) %]
 <table class="calendar">
     <tr>
-        <th> <a href="?view_cal=[%prev.ymd%]">&laquo; </a></th>
+        <th> <a href="[%base%]/[%request.path%]?view_cal=[%prev.ymd%]">&laquo; </a></th>
         <th colspan="5"> 
             [% date.strftime("%Y-%m") %] 
         </th>
         <th> [% IF next %]
-            <a href="?view_cal=[%next.ymd%]">&raquo; </a>
+            <a href="[%base%]/[%request.path%]?view_cal=[%next.ymd%]">&raquo; </a>
             [% END %]
         </th>
     </tr>