summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/blog.mdwn2
-rw-r--r--doc/plugins/comments.mdwn3
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/examples/blog.mdwn b/doc/examples/blog.mdwn
index 687f4afce..091e37431 100644
--- a/doc/examples/blog.mdwn
+++ b/doc/examples/blog.mdwn
@@ -21,4 +21,4 @@ Some additional configuration you might want to do:
* Enable the [[comments|plugins/comments]] plugin and configure it to
enable comments to posts to the blog:
- comments_pagespec => 'blog/posts/*',
+ comments_pagespec => 'blog/posts/* and !*/Discussion',
diff --git a/doc/plugins/comments.mdwn b/doc/plugins/comments.mdwn
index afaf2c7ae..72b11af64 100644
--- a/doc/plugins/comments.mdwn
+++ b/doc/plugins/comments.mdwn
@@ -25,7 +25,8 @@ There are some global options for the setup file:
* `comments_pagespec`: [[ikiwiki/PageSpec]] of pages where comments are
allowed. The default is not to allow comments on any pages. To allow
- comments to all posts to a blog, you could use `blog/* and !*/Discussion`.
+ comments to all posts to a blog, you could use
+ `blog/posts/* and !*/Discussion`.
* `comments_closed_pagespec`: [[ikiwiki/PageSpec]] of pages where
posting of new comments is closed, but any existing comments will still
be displayed. Often you will list a set of individual pages here.