projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c99369c
)
rssurl and atomurl are only needed where $feeds is set
author
Nis Martensen
<nis.martensen@web.de>
Thu, 13 Dec 2007 08:58:55 +0000
(09:58 +0100)
committer
Joey Hess
<joey@kitenet.net>
Sun, 16 Dec 2007 21:04:38 +0000
(16:04 -0500)
IkiWiki/Plugin/inline.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/inline.pm
b/IkiWiki/Plugin/inline.pm
index 3c0c6f140709b9e91fdbb8b13fa86c08ee400d96..b28ad27a8e01c32a17d5fc979c3f9c2b85156b74 100644
(file)
--- a/
IkiWiki/Plugin/inline.pm
+++ b/
IkiWiki/Plugin/inline.pm
@@
-173,8
+173,10
@@
sub preprocess_inline (@) { #{{{
}
}
- my $rssurl=basename(rsspage($params{destpage}).$feednum);
- my $atomurl=basename(atompage($params{destpage}).$feednum);
+ if ($feeds) {
+ my $rssurl=basename(rsspage($params{destpage}).$feednum);
+ my $atomurl=basename(atompage($params{destpage}).$feednum);
+ }
my $ret="";
if ($config{cgiurl} && (exists $params{rootpage} ||