]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/Add_space_before_slash_in_parent_links.mdwn
how to achieve this by modifying your templates
[ikiwiki.git] / 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>
+
+----
+
+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]]