aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2014-09-14 15:51:22 +0100
committerSimon McVittie <smcv@debian.org>2014-09-14 15:51:22 +0100
commit89492a62a76e1bf5f5a1d2b1d9ac82b042b7ec49 (patch)
tree1ed7874c903a3fcacb7af9701a71fa84f6e375b8 /IkiWiki/Plugin
parentcd5a24d8b405902801ca710cb77d6cc3f802f90f (diff)
downloadikiwiki-89492a62a76e1bf5f5a1d2b1d9ac82b042b7ec49.tar
ikiwiki-89492a62a76e1bf5f5a1d2b1d9ac82b042b7ec49.tar.gz
pagestats: consistent indentation
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/pagestats.pm16
1 files changed, 8 insertions, 8 deletions
diff --git a/IkiWiki/Plugin/pagestats.pm b/IkiWiki/Plugin/pagestats.pm
index b0ecf7eca..d0a4ec7aa 100644
--- a/IkiWiki/Plugin/pagestats.pm
+++ b/IkiWiki/Plugin/pagestats.pm
@@ -34,14 +34,14 @@ sub getsetup () {
sub linktext ($%) {
# Return the text of the link to a tag, depending on option linktext.
my ($page, %params) = @_;
- if (exists $params{disp} &&
- exists $pagestate{$page} &&
- exists $pagestate{$page}{meta}{$params{disp}}) {
- return $pagestate{$page}{meta}{$params{disp}};
- }
- else {
- return undef;
- }
+ if (exists $params{disp} &&
+ exists $pagestate{$page} &&
+ exists $pagestate{$page}{meta}{$params{disp}}) {
+ return $pagestate{$page}{meta}{$params{disp}};
+ }
+ else {
+ return undef;
+ }
}
sub preprocess (@) {