X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/100c68003b8d5214b8de3101c97b9af79e064369..2fc21bff0adc27d9374aa6b5f5011ca422df47d8:/doc/forum/wiki_name_in_page_titles.mdwn?ds=inline diff --git a/doc/forum/wiki_name_in_page_titles.mdwn b/doc/forum/wiki_name_in_page_titles.mdwn index 16c27c24a..4e9e51835 100644 --- a/doc/forum/wiki_name_in_page_titles.mdwn +++ b/doc/forum/wiki_name_in_page_titles.mdwn @@ -4,3 +4,29 @@ template this works for all pages except the index page itself which will have title "WikiName: WikiName" as its title. Does anyone know of a template-based solution to this or do I need to write a plugin that provides a `IS_HOMEPAGE` template variable? --[[JasonBlevins]] + +> Hmm, one way to work around this is to put a meta title directive on the +> index page. Then TITLE will be that, rather than WIKINAME, and your +> template should work. --[[Joey]] + +>> I ended up writing a [path][] plugin since I had some other +>> path-specific conditional things to include in my templates. +>> +>> So now I can do things like this: +>> +>>