diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-08-26 13:24:55 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-08-26 13:24:55 -0400 |
commit | 3caec0681d3c32a71295b607eae65306bdbf14f7 (patch) | |
tree | bc08e26f69b19e8e03175d774616920197351d4a /doc | |
parent | 042a0577780ca1783ce8cb4d9a050fa115f6cd6b (diff) |
fix %pagestate{
Diffstat (limited to 'doc')
-rw-r--r-- | doc/plugins/write.mdwn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index cde0b50fd..e8ba0a6ab 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -449,8 +449,8 @@ your ikiwiki setup file, which sets the hash content to configure the wiki. The `%pagestate` hash can be used by plugins to save state that they will need next time ikiwiki is run. The hash holds per-page state, so to set a value, -use `%pagestate{$page}{$id}{$key}=$value`, and to retrieve the value, -use `%pagestate{$page}{$id}{$key}`. +use `$pagestate{$page}{$id}{$key}=$value`, and to retrieve the value, +use `$pagestate{$page}{$id}{$key}`. The `$value` can be anything that perl's Storable module is capable of serializing. `$key` can be any string you like, but `$id` must be the same |