diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-11-26 11:45:53 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-11-26 11:45:53 -0200 |
commit | 0fc63aa1bd088d07178df29a046bb4efeefd6ba3 (patch) | |
tree | fe0e191468c354466bfc4246d2863abbfce3726c | |
parent | bd9c870b4f2e048cc6e97753c149b04ad19fa03b (diff) | |
download | blog-0fc63aa1bd088d07178df29a046bb4efeefd6ba3.tar.gz blog-0fc63aa1bd088d07178df29a046bb4efeefd6ba3.tar.bz2 |
Cleanup ikiwiki config
-rw-r--r-- | ikiwiki.setup | 45 |
1 files changed, 15 insertions, 30 deletions
diff --git a/ikiwiki.setup b/ikiwiki.setup index bb6d2e3..bb20644 100644 --- a/ikiwiki.setup +++ b/ikiwiki.setup @@ -1,40 +1,25 @@ #!/usr/bin/perl # Configuration file for ikiwiki. -# Passing this to ikiwiki --setup will make ikiwiki generate wrappers and -# build the wiki. -# -# Remember to re-run ikiwiki --setup any time you edit this file. - use IkiWiki::Setup::Standard { - wikiname => "cypherprank machine", - adminuser => ["rhatto", ], + # Basic + wikiname => "cypherprank machine", + adminuser => ["rhatto", ], adminemail => 'rhatto@riseup.net', + srcdir => ".", + destdir => "www", + url => "https://blog.fluxo.info", + cgiurl => "https://blog.fluxo.info/ikiwiki.cgi", - srcdir => ".", - destdir => "www", - - url => "https://blog.fluxo.info", - cgiurl => "https://blog.fluxo.info/ikiwiki.cgi", - - # Git stuff. - rcs => "git", - historyurl => "https://git.fluxo.info/blog/log/[[file]]", - diffurl => 'https://git.fluxo.info/blog/commit/[[file]]?id=[[sha1_commit]]', + # Git stuff # See https://ikiwiki.info/tips/laptop_wiki_with_git/ + rcs => "git", + historyurl => "https://git.fluxo.info/blog/log/[[file]]", + diffurl => 'https://git.fluxo.info/blog/commit/[[file]]?id=[[sha1_commit]]', gitorigin_branch => '', - wrappers => [ ], - - # Default to generating rss feeds for pages with feeds? - rss => 1, - # Default to generating atom feeds for pages with feeds? - #atom => 1, - # Allow generating feeds even if not generated by default? - #allowrss => 1, - #allowatom => 1, - # Urls to ping with XML-RPC when feeds are updated - #pingurl => [qw{http://rpc.technorati.com/rpc/ping}], - # Include discussion links on all pages? + # Misc + wrappers => [ ], + rss => 1, discussion => 0, # To exclude files matching a regexp from processing. This adds to @@ -56,6 +41,6 @@ use IkiWiki::Setup::Standard { umask => 002, # To add or disable plugins, list them here. - add_plugins => [qw{goodstuff sidebar}], + add_plugins => [qw{goodstuff sidebar}], disable_plugins => [qw{openid editpage}], } |