aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Plugin/comments.pm4
-rw-r--r--doc/tips/comments_feed.mdwn2
-rw-r--r--doc/todo/comments.mdwn2
-rw-r--r--doc/wikitemplates.mdwn2
-rw-r--r--templates/comment.tmpl (renamed from templates/comments_display.tmpl)0
5 files changed, 5 insertions, 5 deletions
diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm
index fd9f0acb4..705ba340b 100644
--- a/IkiWiki/Plugin/comments.pm
+++ b/IkiWiki/Plugin/comments.pm
@@ -447,7 +447,7 @@ sub sessioncgi ($$) {
content => $preview);
});
- my $template = template("comments_display.tmpl");
+ my $template = template("comment.tmpl");
$template->param(content => $preview);
$template->param(title => $form->field('subject'));
$template->param(ctime => displaytime(time));
@@ -538,7 +538,7 @@ sub pagetemplate (@) {
if ($shown) {
$comments = IkiWiki::preprocess_inline(
pages => "internal($page/$config{comments_pagename}*)",
- template => 'comments_display',
+ template => 'comment',
show => 0,
reverse => 'yes',
page => $page,
diff --git a/doc/tips/comments_feed.mdwn b/doc/tips/comments_feed.mdwn
index 68513901e..6f8137256 100644
--- a/doc/tips/comments_feed.mdwn
+++ b/doc/tips/comments_feed.mdwn
@@ -3,7 +3,7 @@ blog can have comments added to them. Pages with comments even have special
feeds that can be used to subscribe to those comments. But you'd like to
add a feed that contains all the comments posted to any page. Here's how:
- \[[!inline pages="internal(*/comment_*)" template=comments_display]]
+ \[[!inline pages="internal(*/comment_*)" template=comment]]
The special [[ikiwiki/PageSpec]] matches all comments. The
[[template|wikitemplates]] causes the comments to be displayed formatted
diff --git a/doc/todo/comments.mdwn b/doc/todo/comments.mdwn
index 2bcec69ba..ee2ba7ea0 100644
--- a/doc/todo/comments.mdwn
+++ b/doc/todo/comments.mdwn
@@ -46,7 +46,7 @@ Known issues with the [[plugins/comments]] plugin:
> a good feature to have, though. --[[smcv]]
* One can use inline to set up a feed of all comments posted to any page.
- Using template=comments_display they are displayed right. Only problem
+ Using template=comment they are displayed right. Only problem
is there is no indication in that template of what page each comment in the
feed is a comment on. So, if a comment is inlined into a different page,
I think it should show a link back to the page commented on.
diff --git a/doc/wikitemplates.mdwn b/doc/wikitemplates.mdwn
index 6fb4d5f49..63735193b 100644
--- a/doc/wikitemplates.mdwn
+++ b/doc/wikitemplates.mdwn
@@ -29,7 +29,7 @@ located in /usr/share/ikiwiki/templates by default.
form to wiki pages.
* `searchquery.tmpl` - This is an omega template, used by the
[[plugins/search]] plugin.
-* `comments_display.tmpl` - This template is used to display a comment
+* `comment.tmpl` - This template is used to display a comment
by the [[plugins/comments]] plugin.
* `comments_form.tmpl` - This template is the comment post form for the
[[plugins/comments]] plugin.
diff --git a/templates/comments_display.tmpl b/templates/comment.tmpl
index e7e283bbf..e7e283bbf 100644
--- a/templates/comments_display.tmpl
+++ b/templates/comment.tmpl