summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.library/IkiWiki/Plugin/fill_empty_page.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/.library/IkiWiki/Plugin/fill_empty_page.pm b/.library/IkiWiki/Plugin/fill_empty_page.pm
index 30396438..b2ce1fc0 100644
--- a/.library/IkiWiki/Plugin/fill_empty_page.pm
+++ b/.library/IkiWiki/Plugin/fill_empty_page.pm
@@ -43,6 +43,8 @@ sub formbuilder_setup
return if $form->title ne "editpage";
return if $form->field("do") ne "create";
+ return if defined $form->field ("editcontent");
+
# This is obviously not the last conclusion of wisdom.
my $empty_page_page = bestlink ($page, "empty_page") || return;
my $empty_page_file = $pagesources {$empty_page_page} || return;