From: W. Trevor King Date: Thu, 30 Sep 2010 14:49:13 +0000 (-0400) Subject: Add a sidebar with contact information. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2ac1bad464d9f782c7e3b9608902dd28094a3405;p=mw2txt.git Add a sidebar with contact information. --- diff --git a/ikiwiki.setup b/ikiwiki.setup index dff7b2b..4d3203a 100644 --- a/ikiwiki.setup +++ b/ikiwiki.setup @@ -29,7 +29,7 @@ use IkiWiki::Setup::Standard { # rcs backend to use rcs => 'git', # plugins to add to the default configuration - add_plugins => [qw{goodstuff lockedit mdwn_itex}], + add_plugins => [qw{goodstuff lockedit mdwn_itex sidebar}], # plugins to disable disable_plugins => [qw{editpage htmlscrubber passwordauth smiley}], # location of template files @@ -134,6 +134,10 @@ use IkiWiki::Setup::Standard { # URIs of repositories containing the wiki's source repositories => [qw{http://www.physics.drexel.edu/~wking/code/git/blog.git}], + # sidebar plugin + # show sidebar page on all pages? + #global_sidebars => 1, + # tag plugin # parent page tags are located under #tagbase => 'tag', diff --git a/index.mdwn b/index.mdwn index 957565a..4199c42 100644 --- a/index.mdwn +++ b/index.mdwn @@ -1,5 +1,3 @@ -[[!pagestats pages="./tags/*"]] - [[!inline pages="./posts/*" show="10" actions=yes rootpage="posts"]] ---- diff --git a/sidebar.mdwn b/sidebar.mdwn index 840ca96..33f60a4 100644 --- a/sidebar.mdwn +++ b/sidebar.mdwn @@ -1,5 +1,6 @@ * [[Blog|index]] * [[Archive|posts]] +* [Contact](http://www.physics.drexel.edu/~wking/contact.shtml) Categories: -[[!map pages="./tags/*"]] +[[!pagestats pages="./tags/*"]]