]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
unify pagespecs 2.71
authorJoey Hess <joey@gnu.kitenet.net>
Sun, 21 Dec 2008 21:50:50 +0000 (16:50 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Sun, 21 Dec 2008 21:50:50 +0000 (16:50 -0500)
doc/examples/blog.mdwn
doc/plugins/comments.mdwn

index 687f4afcede098bc0e6713af7a43493ed36c6f51..091e37431e917702d3ee542cd41a72911f7894d3 100644 (file)
@@ -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',
index afaf2c7ae66dfd60985590f4c5ee279f01e0c145..72b11af645a607711af4a3d16b39057d74ff9738 100644 (file)
@@ -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.