use PARENTLINKS
authorprivat <privat@web>
Fri, 11 Jun 2010 01:03:43 +0000 (01:03 +0000)
committerJoey Hess <joey@finch.kitenet.net>
Fri, 11 Jun 2010 01:03:43 +0000 (01:03 +0000)
doc/forum/wiki_name_in_page_titles.mdwn

index 88711e99ab36ef7a16cb06500704f288eeca7fad..4e9e51835e3047aa0aff62ed0e1b40be796bf964 100644 (file)
@@ -24,3 +24,9 @@ that provides a `IS_HOMEPAGE` template variable? --[[JasonBlevins]]
 >> pages for them soon. --[[JasonBlevins]]
 
 [path]: http://jblevins.org/git/ikiwiki/plugins.git/plain/path.pm
+
+> I used the following trick in some page.tmpl:
+>
+>     <title><TMPL_VAR WIKINAME><TMPL_IF NAME="PARENTLINKS">: <TMPL_VAR TITLE></TMPL_IF></title>
+>
+> --[[JeanPrivat]]