From: Simon McVittie Date: Sun, 14 Sep 2014 14:51:22 +0000 (+0100) Subject: pagestats: consistent indentation X-Git-Tag: 3.20160121~47^2~1 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/89492a62a76e1bf5f5a1d2b1d9ac82b042b7ec49?hp=-c pagestats: consistent indentation --- 89492a62a76e1bf5f5a1d2b1d9ac82b042b7ec49 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 (@) {