From 3d846b2d27e80386e058b0ca9ef2739674ef7736 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 9 Sep 2010 14:06:35 +0200 Subject: Add (part of) YAML field infrastructure. New files copied from a2482475a7ed0b6f54df10a87a8665e2361f3598 of by Kathryn Andersen . --- ikiwiki.setup | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'ikiwiki.setup') diff --git a/ikiwiki.setup b/ikiwiki.setup index 071df640..ea8a266d 100644 --- a/ikiwiki.setup +++ b/ikiwiki.setup @@ -62,6 +62,7 @@ IkiWiki::Setup::Standard->import({ add_plugins => [qw{goodstuff cutpaste editdiff edittemplate favicon html search sidebar table txt + field getfield ymlfront copyright license texinfo}], # plugins to disable disable_plugins => [], @@ -316,10 +317,11 @@ IkiWiki::Setup::Standard->import({ ###################################################################### # other plugins # (aggregate, autoindex, brokenlinks, camelcase, ddate, embed, - # favicon, flattr, goodstuff, htmlbalance, localstyle, - # pagetemplate, pingee, pinger, prettydate, recentchanges, - # recentchangesdiff, relativedate, rsync, sidebar, smiley, - # sortnaturally, tag, testpagespec, underlay) + # favicon, field, flattr, getfield, goodstuff, htmlbalance, + # localstyle, pagetemplate, pingee, pinger, prettydate, + # recentchanges, recentchangesdiff, relativedate, rsync, + # sidebar, smiley, sortnaturally, tag, testpagespec, underlay, + # ymlfront) ###################################################################### # aggregate plugin @@ -332,6 +334,14 @@ IkiWiki::Setup::Standard->import({ # list of words to not turn into links #camelcase_ignore => [], + # field plugin + # simple registration of fields by plugin + #field_register => 'field_register => {meta => \'last\'}', + # allow config settings to be queried + #field_allow_config => 0, + # fields flagged as tag-fields + #field_tags => 'field_tags => {BookAuthor => \'/books/authors\'}', + # flattr plugin # userid or user name to use by default for Flattr buttons #flattr_userid => 'joeyh', @@ -367,4 +377,8 @@ IkiWiki::Setup::Standard->import({ # underlay plugin # extra underlay directories to add #add_underlays => '', + + # ymlfront plugin + # delimiters of YAML data + ymlfront_delim => [qw{--YAML-START-- --YAML-END--}], }) -- cgit v1.2.3