aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/Add_space_before_slash_in_parent_links.mdwn
diff options
context:
space:
mode:
authorhttp://jmtd.livejournal.com/ <http://jmtd.livejournal.com/@web>2009-07-20 10:03:50 -0400
committerJoey Hess <joey@kitenet.net>2009-07-20 10:03:50 -0400
commitbfe1961e1dc75fbf702000cde111bab208997509 (patch)
tree164a0c40ed72cd3be737920394b949f752573d1f /doc/todo/Add_space_before_slash_in_parent_links.mdwn
parent22274668392ce0c47eb4ba62364fc3579bc82750 (diff)
downloadikiwiki-bfe1961e1dc75fbf702000cde111bab208997509.tar
ikiwiki-bfe1961e1dc75fbf702000cde111bab208997509.tar.gz
how to achieve this by modifying your templates
Diffstat (limited to 'doc/todo/Add_space_before_slash_in_parent_links.mdwn')
-rw-r--r--doc/todo/Add_space_before_slash_in_parent_links.mdwn11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/todo/Add_space_before_slash_in_parent_links.mdwn b/doc/todo/Add_space_before_slash_in_parent_links.mdwn
index 9eb8e5364..79044ccc6 100644
--- a/doc/todo/Add_space_before_slash_in_parent_links.mdwn
+++ b/doc/todo/Add_space_before_slash_in_parent_links.mdwn
@@ -61,3 +61,14 @@ Patch:
+<TMPL_VAR INDEXLINK> / <TMPL_VAR TITLE>
</span>
</div>
+
+----
+
+It's almost implicit in some of the discussion above but this can be achieved locally if you fork your templates directory from ikiwiki's, with an ammendment such as
+
+ <h1><TMPL_LOOP NAME="PARENTLINKS"><a
+ href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a>
+ &rarr;
+ </TMPL_LOOP><TMPL_VAR TITLE></h1>
+
+This is what I do on my site for example. -- [[Jon]]