]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Forum question
authorJason Blevins <jrblevin@sdf.lonestar.org>
Thu, 30 Oct 2008 03:25:34 +0000 (23:25 -0400)
committerJason Blevins <jrblevin@sdf.lonestar.org>
Thu, 30 Oct 2008 03:25:34 +0000 (23:25 -0400)
doc/forum/wiki_name_in_page_titles.mdwn [new file with mode: 0644]

diff --git a/doc/forum/wiki_name_in_page_titles.mdwn b/doc/forum/wiki_name_in_page_titles.mdwn
new file mode 100644 (file)
index 0000000..16c27c2
--- /dev/null
@@ -0,0 +1,6 @@
+I'd like to have the wiki name appear in page titles as in "WikiName:
+Page Title."  If I use `<TMPL_VAR WIKINAME>: <TMPL_VAR TITLE>` in the
+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]]