X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/ed8953716496354561218cdaf10153a8a4f4259d..b9e443c4d1ba0fdd64bbc2120831db490b185733:/doc/tips/parentlinks_style.mdwn
diff --git a/doc/tips/parentlinks_style.mdwn b/doc/tips/parentlinks_style.mdwn
index b10d7cf56..8b95cd396 100644
--- a/doc/tips/parentlinks_style.mdwn
+++ b/doc/tips/parentlinks_style.mdwn
@@ -77,11 +77,29 @@ following lines in `page.tmpl`:
" class="height">
/
-
+
Then write the appropriate CSS bits for `a.height1`, etc.
+Avoid showing title of toplevel index page
+------------------------------------------
+
+If you don't like having "index" appear on the top page of the wiki,
+but you do want to see the name of the page otherwise, you can use a
+special `HAS_PARENTLINKS` template variable that the plugin provides.
+It is true for every page *except* the toplevel index.
+
+Here is an example of using it to hide the title of the toplevel index
+page:
+
+
+ /
+
+
+
+
+
Full-blown example
------------------