diff options
author | Thomas Schwinge <thomas@schwinge.name> | 2010-09-09 14:06:35 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@schwinge.name> | 2010-09-09 14:06:35 +0200 |
commit | 3d846b2d27e80386e058b0ca9ef2739674ef7736 (patch) | |
tree | e186aedf577300ad9e97f45d3bb694351a57a336 /ikiwiki.setup | |
parent | c65b9994127092b64c3a61e669db16d81a9d2a1c (diff) | |
download | web-3d846b2d27e80386e058b0ca9ef2739674ef7736.tar.gz web-3d846b2d27e80386e058b0ca9ef2739674ef7736.tar.bz2 web-3d846b2d27e80386e058b0ca9ef2739674ef7736.zip |
Add (part of) YAML field infrastructure.
New files copied from a2482475a7ed0b6f54df10a87a8665e2361f3598 of
<git://github.com/rubykat/ikiplugins.git> by Kathryn Andersen
<perlkat@katspace.org>.
Diffstat (limited to 'ikiwiki.setup')
-rw-r--r-- | ikiwiki.setup | 22 |
1 files changed, 18 insertions, 4 deletions
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--}], }) |