From: Carl Worth Date: Mon, 24 Dec 2007 16:39:16 +0000 (-0800) Subject: Use upstream pagetemplate plugin instead of locally-hacked suppresstitle feature X-Git-Url: https://git.cworth.org/git?p=cworth.org;a=commitdiff_plain;h=c368f349b015804fb7a4ce81a8a52126c0eedd6d Use upstream pagetemplate plugin instead of locally-hacked suppresstitle feature --- diff --git a/ikiwiki.setup b/ikiwiki.setup index 4e418aa..cc2c2b9 100644 --- a/ikiwiki.setup +++ b/ikiwiki.setup @@ -82,7 +82,7 @@ use IkiWiki::Setup::Standard { # To add plugins, list them here. #add_plugins => [qw{goodstuff search wikitext camelcase # htmltidy fortune sidebar map rst anonok}], - add_plugins => [qw{goodstuff}], + add_plugins => [qw{goodstuff pagetemplate}], # If you want to disable any of the default plugins, list them here. #disable_plugins => [qw{inline htmlscrubber passwordauth openid}], disable_plugins => [qw{smiley htmlscrubber}], diff --git a/src/index.mdwn b/src/index.mdwn index a2e1a7d..562fefb 100644 --- a/src/index.mdwn +++ b/src/index.mdwn @@ -1,3 +1,4 @@ +[[pagetemplate template=indexpage.tmpl]] # News Recent ramblings from me can be found on my [[blog]]. diff --git a/templates/indexpage.tmpl b/templates/indexpage.tmpl new file mode 100644 index 0000000..94559b0 --- /dev/null +++ b/templates/indexpage.tmpl @@ -0,0 +1,88 @@ + + + + +<TMPL_VAR TITLE> + + + + + + + + + + +
+ + + + +
+ + +
+ +
+
+ + + + + +
+ +
+ + + + + diff --git a/templates/page.tmpl b/templates/page.tmpl index 8198d5b..3f48960 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -18,11 +18,9 @@ -

-