]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
rename comment pseudo-template
authorDavid Bremner <bremner@unb.ca>
Mon, 1 Sep 2008 00:40:00 +0000 (21:40 -0300)
committerDavid Bremner <bremner@unb.ca>
Mon, 1 Sep 2008 21:47:26 +0000 (18:47 -0300)
IkiWiki/Plugin/postal.pm
test/in/_comments.mdwn [new file with mode: 0644]
test/in/comments.mdwn [deleted file]

index be64a3edd4191044ebe7003c1ea78071eb2d0889..345c487011e9a499f8225c2c1fd4d30434f9acb7 100644 (file)
@@ -56,7 +56,7 @@ sub pagetemplate (@)
 
 
        my $content;
-       my $comment_page = bestlink ($page, "comments") || return;
+       my $comment_page = bestlink ($page, "_comments") || return;
        my $comment_file = $pagesources{$comment_page} || return;
 
        $content = readfile (srcfile ($comment_file));
diff --git a/test/in/_comments.mdwn b/test/in/_comments.mdwn
new file mode 100644 (file)
index 0000000..88e659d
--- /dev/null
@@ -0,0 +1,4 @@
+
+<a href="mailto:bremner-testwiki-%%KEY%%@pivot.cs.unb.ca">Send Comment</a>
+
+[[Read Comments|%%PAGE%%/comments]]
diff --git a/test/in/comments.mdwn b/test/in/comments.mdwn
deleted file mode 100644 (file)
index 88e659d..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-
-<a href="mailto:bremner-testwiki-%%KEY%%@pivot.cs.unb.ca">Send Comment</a>
-
-[[Read Comments|%%PAGE%%/comments]]