aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-21 22:45:17 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-21 22:45:17 +0000
commitd0295d9dc0827cc272f93f20bae2eff783a8fabe (patch)
tree9ca1fbb59fe6e468663f03b7d63a58797f001b1f /templates
parentcf3021ef3f5cb839195585d601de76df519da510 (diff)
downloadikiwiki-d0295d9dc0827cc272f93f20bae2eff783a8fabe.tar
ikiwiki-d0295d9dc0827cc272f93f20bae2eff783a8fabe.tar.gz
* Clean up behavior with broken parentlinks.
Diffstat (limited to 'templates')
-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>