summaryrefslogtreecommitdiff
path: root/templates/page.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/page.tmpl')
-rw-r--r--templates/page.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index 438fbc25d..21746f332 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -14,7 +14,11 @@
<div class="header">
<span>
<TMPL_LOOP NAME="PARENTLINKS">
+<TMPL_IF NAME="URL">
<a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a>/
+<TMPL_ELSE>
+<TMPL_VAR NAME=PAGE>/
+</TMPL_IF>
</TMPL_LOOP>
<TMPL_VAR TITLE>
</span>