Added a comment
[ikiwiki.git] / doc / forum / Perhaps_I__39__m_doing_it_wrong_-_tracking_non-post_files_in_a_blog / comment_1_45ecaf6efa2065837fa54a42737f0a66._comment
1 [[!comment format=mdwn
2  username="http://smcv.pseudorandom.co.uk/"
3  nickname="smcv"
4  subject="comment 1"
5  date="2012-01-03T11:29:59Z"
6  content="""
7 Change the [[ikiwiki/pagespec]] in the `inline`, for instance from
8 `posts/*` to `page(posts/*)`.
9
10 `page(*)` only matches \"pages\" (things that get rendered to HTML, which is just
11 `.mdwn` files in a default ikiwiki, but can include other things with the right
12 plugins).
13
14 On my blog I use \"`2* and copyright(*)`\", which is a bit of a hack: it matches
15 files in the directories I use for posts (which are year-based), but only if
16 they have an explicit copyright statement - which my blog posts do, but
17 \"structural\" pages (like a list of all posts from 2011) don't.
18 """]]