Mercurial > ~samis > hgweb.cgi > blag
changeset 0:4531a1cb866e
initial import
author | Samuel Hodgkins <samuel.hodgkins@sky.com> |
---|---|
date | Sat, 26 Aug 2017 01:15:13 +0000 |
parents | |
children | eabcf4d80c92 |
files | .hgignore archives.mdwn comments.mdwn index.mdwn posts.mdwn posts/first_post.mdwn posts/second_post.mdwn sidebar.mdwn tags.mdwn |
diffstat | 9 files changed, 49 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgignore Sat Aug 26 01:15:13 2017 +0000 @@ -0,0 +1,1 @@ +.ikiwiki
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/archives.mdwn Sat Aug 26 01:15:13 2017 +0000 @@ -0,0 +1,8 @@ +[[!if test="archives/*" then=""" +Browse through blog archives by year: +[[!map pages="./archives/* and !./archives/*/* and !*/Discussion"]] +""" +else=""" +You need to use the `ikiwiki-calendar` program to generate calendar-based +archive pages. +"""]]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/comments.mdwn Sat Aug 26 01:15:13 2017 +0000 @@ -0,0 +1,10 @@ +[[!sidebar content=""" +[[!inline pages="comment_pending(./posts/*)" feedfile=pendingmoderation +description="comments pending moderation" show=-1]] +Comments in the [[!commentmoderation desc="moderation queue"]]: +[[!pagecount pages="comment_pending(./posts/*)"]] +"""]] + +Recent comments on posts in the [[blog|index]]: +[[!inline pages="./posts/*/Discussion or comment(./posts/*)" +template="comment"]]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/index.mdwn Sat Aug 26 01:15:13 2017 +0000 @@ -0,0 +1,11 @@ +[[!if test="enabled(sidebar)" then=""" +[[!sidebar]] +""" else=""" +[[!inline pages=sidebar raw=yes]] +"""]] + +[[!inline pages="page(./posts/*) and !*/Discussion" show="10" +actions=yes rootpage="posts"]] + + +This blog is powered by [ikiwiki](http://ikiwiki.info).
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/posts.mdwn Sat Aug 26 01:15:13 2017 +0000 @@ -0,0 +1,3 @@ +Here is a full list of posts to the [[blog|index]]. + +[[!inline pages="page(./posts/*) and !*/Discussion" archive=yes feedshow=10 quick=yes trail=yes]]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/posts/first_post.mdwn Sat Aug 26 01:15:13 2017 +0000 @@ -0,0 +1,2 @@ +This is the first post to this example blog. To add new posts, just add +files to the posts/ subdirectory, or use the web form.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/posts/second_post.mdwn Sat Aug 26 01:15:13 2017 +0000 @@ -0,0 +1,1 @@ +This is the second post to this example blog. To add new posts, just add files to the posts/ subdirectory, or use the web form.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sidebar.mdwn Sat Aug 26 01:15:13 2017 +0000 @@ -0,0 +1,10 @@ +[[!if test="enabled(calendar)" then=""" +[[!calendar pages="page(./posts/*) and !*/Discussion"]] +"""]] + +[[Recent Comments|comments]] + +[[Archives]] + +[[Tags]]: +[[!pagestats style="list" pages="./tags/*" among="./posts/*"]]