summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2010-04-06 00:59:16 +0100
committerSimon McVittie <smcv@debian.org>2010-04-06 00:59:16 +0100
commita2dc8c9373b36f7cc8da239b823b5839788a743d (patch)
tree365144d64aba69b7c8f3f3ad086f6a01b6b7528a /IkiWiki/Plugin
parentbe1d97c0bd495fe876853d7d7f6eb42041867649 (diff)
Only store authorsort in meta pagestate if it differs from author
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/meta.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm
index 7f19b46a3..34e902bec 100644
--- a/IkiWiki/Plugin/meta.pm
+++ b/IkiWiki/Plugin/meta.pm
@@ -131,7 +131,7 @@ sub preprocess (@) {
$pagestate{$page}{meta}{authorsort}=$params{sortas};
}
else {
- $pagestate{$page}{meta}{authorsort}=$value;
+ delete $pagestate{$page}{meta}{authorsort};
}
# fallthorough
}