summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2008-12-21 16:50:50 -0500
committerJoey Hess <joey@gnu.kitenet.net>2008-12-21 16:50:50 -0500
commitd70f3d6271a28635942ed23f91ed7e144877e62e (patch)
tree6a9d0ff8cc481dbc067cb63ef5ffbb9bf350cd16 /doc
parent63b919b2308d3c392c98850ad5ec1c65593cdf5a (diff)
unify pagespecs
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.