add --diffurl, if set RecentChanges has links to svn diffs
[ikiwiki.git] / templates / recentchanges.tmpl
index 3dc9fc1be1f1b8b70113c592319a3857dbbfc67d..b42975e95c69fc493d1fcde0c8e2fd8c0213a271 100644 (file)
@@ -13,6 +13,9 @@
        <li> <!-- <TMPL_VAR NAME="REV"> -->
                <TMPL_LOOP NAME="PAGES">
                        <TMPL_VAR NAME="LINK">
+                       <TMPL_IF NAME="DIFFURL">
+                               (<a href="<TMPL_VAR NAME="DIFFURL">">diff</a>)
+                       </TMPL_IF>
                </TMPL_LOOP>
                <br>
                <!-- <TMPL_VAR NAME="COMMITTYPE"> -->