summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2021-03-23 14:54:06 +0100
committerJonas Smedegaard <dr@jones.dk>2021-03-23 14:54:06 +0100
commit5b3b09c78df878bc3c3cc27a7a1c940ff1705be6 (patch)
tree4deadc85713b52457e8db0cc6f418eae1158db37
parent8a75cb1028ea8e35149192c4dd9647c0ce5e2581 (diff)
sync with ikiwiki 3.20190207HEADmasterikiwikicouchdesign/bullseye
-rw-r--r--ikiwiki/directive/graph.mdwn1
-rw-r--r--ikiwiki/directive/meta.mdwn12
-rw-r--r--ikiwiki/directive/poll.mdwn7
3 files changed, 17 insertions, 3 deletions
diff --git a/ikiwiki/directive/graph.mdwn b/ikiwiki/directive/graph.mdwn
index 7021e47..1463420 100644
--- a/ikiwiki/directive/graph.mdwn
+++ b/ikiwiki/directive/graph.mdwn
@@ -21,6 +21,7 @@ ikiwiki, [[WikiLinks|ikiwiki/wikilink]] can also be used. For example:
The `graph` directive supports the following parameters:
- `src` - The graphviz source to render.
+* `file` - A file in the wiki containing the graphviz source.
- `type` - The type of graph to render: `graph` or `digraph`. Defaults to
`digraph`.
- `prog` - The graphviz program to render with: `dot`, `neato`, `fdp`, `twopi`,
diff --git a/ikiwiki/directive/meta.mdwn b/ikiwiki/directive/meta.mdwn
index 3df176c..777712f 100644
--- a/ikiwiki/directive/meta.mdwn
+++ b/ikiwiki/directive/meta.mdwn
@@ -75,8 +75,13 @@ a quote in the text by writing `&quot;` and so on.
* date
- Specifies the creation date of the page. The date can be entered in
- nearly any format, since it's parsed by [[!cpan TimeDate]].
+ Specifies the creation date of the page. This creates a
+ `<meta name="date" content="...">` header in the HTML output, but also
+ modifies the internal `ctime` in the
+ [[!iki tips/inside_dot_ikiwiki desc="internal index"]].
+ The date can be entered in nearly any format, since it's parsed by
+ [[!cpan TimeDate]] but invalid dates yield an error in 3.20180321
+ or later.
* stylesheet
@@ -193,7 +198,8 @@ a quote in the text by writing `&quot;` and so on.
modification time, like Planet: for instance, when editing an old blog post
to add tags, you could set `updated` to be one second later than the original
value. The date/time can be given in any format that
- [[!cpan TimeDate]] can understand, just like the `date` field.
+ [[!cpan TimeDate]] can understand, just like the `date` field and maps to the
+ `<meta name="updated" content="...">` HTML header and internal `mtime` field.
* foaf
diff --git a/ikiwiki/directive/poll.mdwn b/ikiwiki/directive/poll.mdwn
index 0b47a21..caaeaea 100644
--- a/ikiwiki/directive/poll.mdwn
+++ b/ikiwiki/directive/poll.mdwn
@@ -23,5 +23,12 @@ Parameters:
another choice to the poll.
* `total` - Show total number of votes at bottom of poll. Default is "yes".
* `percent` - Whether to display percents. Default is "yes".
+* `postlink` - By default after voting the updated page containing the poll
+ is displayed. This parameter allows advancing onward to another page.
+ This is useful for multi-page polls.
+* `posttrail` - Similar to postvote, but allows advancing to the next page
+ on a trail after a vote. The value of the parameter is the name of the
+ page that defines the trail to follow. The trail plugin must be
+ enabled for this to work.
[[!meta robots="noindex, follow"]]