]> sipb.mit.edu Git - ikiwiki.git/commitdiff
how to achieve this by modifying your templates
authorhttp://jmtd.livejournal.com/ <http://jmtd.livejournal.com/@web>
Mon, 20 Jul 2009 14:03:50 +0000 (10:03 -0400)
committerJoey Hess <joey@kitenet.net>
Mon, 20 Jul 2009 14:03:50 +0000 (10:03 -0400)
doc/todo/Add_space_before_slash_in_parent_links.mdwn

index 9eb8e5364ca5326ce4295d87add0c882ec4e2dff..79044ccc66f8ac44efab6cf485929c02a674f1f7 100644 (file)
@@ -61,3 +61,14 @@ Patch:
     +<TMPL_VAR INDEXLINK> / <TMPL_VAR TITLE>
      </span>
      </div>
     +<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]]