From 55f55e975b0f5a533be61d1dcdaa1ac4f18e5b14 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 25 Jun 2010 12:18:04 -0700 Subject: [PATCH 1/1] initial commit --- .gitignore | 2 ++ archives.mdwn | 8 ++++++++ comments.mdwn | 9 +++++++++ index.mdwn | 11 +++++++++++ posts.mdwn | 3 +++ posts/first_post.mdwn | 4 ++++ sidebar.mdwn | 10 ++++++++++ tags.mdwn | 3 +++ tags/life.mdwn | 4 ++++ tags/tech.mdwn | 4 ++++ 10 files changed, 58 insertions(+) create mode 100644 .gitignore create mode 100644 archives.mdwn create mode 100644 comments.mdwn create mode 100644 index.mdwn create mode 100644 posts.mdwn create mode 100644 posts/first_post.mdwn create mode 100644 sidebar.mdwn create mode 100644 tags.mdwn create mode 100644 tags/life.mdwn create mode 100644 tags/tech.mdwn diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b84c806 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/.ikiwiki +/recentchanges diff --git a/archives.mdwn b/archives.mdwn new file mode 100644 index 0000000..d07b73b --- /dev/null +++ b/archives.mdwn @@ -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. +"""]] diff --git a/comments.mdwn b/comments.mdwn new file mode 100644 index 0000000..f59b443 --- /dev/null +++ b/comments.mdwn @@ -0,0 +1,9 @@ +[[!sidebar content=""" +[[!inline pages="comment_pending(./posts/*)" feedfile=pendingmoderation +description="comments pending moderation" show=-1]] +Comments in the moderation queue: +[[!pagecount pages="comment_pending(./posts/*)"]] +"""]] + +Recent comments on posts in the [[blog|index]]: +[[!inline pages="./posts/*/Discussion or comment(./posts/*)"]] diff --git a/index.mdwn b/index.mdwn new file mode 100644 index 0000000..220c1b3 --- /dev/null +++ b/index.mdwn @@ -0,0 +1,11 @@ +[[!if test="enabled(sidebar)" then=""" +[[!sidebar]] +""" else=""" +[[!inline pages=sidebar raw=yes]] +"""]] + +[[!inline pages="./posts/* and !*/Discussion" show="10" +actions=yes rootpage="posts"]] + + +This blog is powered by [ikiwiki](http://ikiwiki.info). diff --git a/posts.mdwn b/posts.mdwn new file mode 100644 index 0000000..4b29391 --- /dev/null +++ b/posts.mdwn @@ -0,0 +1,3 @@ +Here is a full list of posts to my [[blog|index]]. + +[[!inline pages="./posts/* and !*/Discussion" archive=yes feedshow=10 quick=yes]] diff --git a/posts/first_post.mdwn b/posts/first_post.mdwn new file mode 100644 index 0000000..f2729fc --- /dev/null +++ b/posts/first_post.mdwn @@ -0,0 +1,4 @@ +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. + +[[!tag tech]] diff --git a/sidebar.mdwn b/sidebar.mdwn new file mode 100644 index 0000000..5c1f177 --- /dev/null +++ b/sidebar.mdwn @@ -0,0 +1,10 @@ +[[!if test="enabled(calendar)" then=""" +[[!calendar pages="./posts/* and !*/Discussion"]] +"""]] + +[[Recent Comments|comments]] + +[[Archives]] + +[[Tags]]: +[[!pagestats style="list" pages="./tags/*" among="./posts/*"]] diff --git a/tags.mdwn b/tags.mdwn new file mode 100644 index 0000000..b5eca5b --- /dev/null +++ b/tags.mdwn @@ -0,0 +1,3 @@ +[[!pagestats pages="./tags/*" among="./posts/*"]] + +On the right you can see the tag cloud for this blog. diff --git a/tags/life.mdwn b/tags/life.mdwn new file mode 100644 index 0000000..e1614db --- /dev/null +++ b/tags/life.mdwn @@ -0,0 +1,4 @@ +[[!meta title="tag life"]] + +[[!inline pages="tagged(tags/life)" actions="no" archive="yes" +feedshow=10]] diff --git a/tags/tech.mdwn b/tags/tech.mdwn new file mode 100644 index 0000000..398146c --- /dev/null +++ b/tags/tech.mdwn @@ -0,0 +1,4 @@ +[[!meta title="tag tech"]] + +[[!inline pages="tagged(tags/tech)" actions="no" archive="yes" +feedshow=10]] -- 2.39.2