projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25142cf
)
fix cgiurl check
author
Joey Hess
<joey@kodama.kitenet.net>
Sun, 27 Jul 2008 23:21:56 +0000
(19:21 -0400)
committer
Joey Hess
<joey@kodama.kitenet.net>
Sun, 27 Jul 2008 23:21:56 +0000
(19:21 -0400)
IkiWiki/Plugin/inline.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/inline.pm
b/IkiWiki/Plugin/inline.pm
index cdd0ab0dc2b7cf86ae3b5c7367bd24fe980d2462..ed7a584083aeb1cc1b55c321851a094664acb608 100644
(file)
--- a/
IkiWiki/Plugin/inline.pm
+++ b/
IkiWiki/Plugin/inline.pm
@@
-247,7
+247,7
@@
sub preprocess_inline (@) { #{{{
my $atomurl=basename(atompage($params{destpage}).$feednum) if $feeds && $atom;
my $ret="";
- if ($config{cgiurl} && ! $params{preview} && (exists $params{rootpage} ||
+ if (
length
$config{cgiurl} && ! $params{preview} && (exists $params{rootpage} ||
(exists $params{postform} && yesno($params{postform})))) {
# Add a blog post form, with feed buttons.
my $formtemplate=template("blogpost.tmpl", blind_cache => 1);