From: Roland Hieber Date: Tue, 17 Sep 2013 03:09:43 +0000 (+0200) Subject: add blog structure from ikiwiki/auto-blog.setup below blag/ X-Git-Url: http://git.rohieb.name/www-rohieb-name.git/commitdiff_plain/556d86ae19c9449510aa52d32bc4022211abf6ec?hp=8a09e995de8ebcd0ade1a884c212ecbfa5166e2c add blog structure from ikiwiki/auto-blog.setup below blag/ --- diff --git a/blag.mdwn b/blag.mdwn new file mode 100644 index 0000000..070d618 --- /dev/null +++ b/blag.mdwn @@ -0,0 +1,9 @@ +[[!if test="enabled(sidebar)" then=""" +[[!sidebar]] +""" else=""" +[[!inline pages=sidebar raw=yes]] +"""]] + +[[!inline pages="page(blag/post/*) and !blag/post/*/* and !*/Discussion" + show="10" actions=yes rootpage="blag"]] + diff --git a/blag/archives.mdwn b/blag/archives.mdwn new file mode 100644 index 0000000..a0db329 --- /dev/null +++ b/blag/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/blag/comments.mdwn b/blag/comments.mdwn new file mode 100644 index 0000000..2dc6b2e --- /dev/null +++ b/blag/comments.mdwn @@ -0,0 +1,9 @@ +[[!sidebar content=""" +[[!inline pages="comment_pending(./post/*)" feedfile=pendingmoderation + description="comments pending moderation" show=-1]] +Comments in the [[!commentmoderation desc="moderation queue"]]: +[[!pagecount pages="comment_pending(./post/*)"]] +"""]] + +Recent comments on posts in the [[blag]]: +[[!inline pages="./post/*/Discussion or comment(./post/*)" template="comment"]] diff --git a/blag/posts.mdwn b/blag/posts.mdwn new file mode 100644 index 0000000..0638ebe --- /dev/null +++ b/blag/posts.mdwn @@ -0,0 +1,4 @@ +Here is a full index of posts to the [[blag]]. + +[[!inline pages="page(./post/*) and ./post/*/* and !*/Discussion" + archive=yes feedshow=10 quick=yes trail=yes]] diff --git a/blag/sidebar.mdwn b/blag/sidebar.mdwn new file mode 100644 index 0000000..9070fa5 --- /dev/null +++ b/blag/sidebar.mdwn @@ -0,0 +1,10 @@ +[[!if test="enabled(calendar)" then=""" +[[!calendar pages="page(./post/*) and !./post/*/* and !*/Discussion"]] +"""]] + +[[Recent Comments|comments]] + +[[Archives]] + +[[Tags]]: +[[!pagestats style="list" pages="./tag/*" among="./post/*"]] diff --git a/blag/tags.mdwn b/blag/tags.mdwn new file mode 100644 index 0000000..7b9aa32 --- /dev/null +++ b/blag/tags.mdwn @@ -0,0 +1,3 @@ +[[!pagestats pages="./tag/*" among="./post/*"]] + +On the right you can see the tag cloud for this blog. diff --git a/index.mdwn b/index.mdwn index f0c3019..29dd12c 100644 --- a/index.mdwn +++ b/index.mdwn @@ -24,6 +24,6 @@ There is still not much Here, everything important should be There: ### personal stuff * My [[wishlist]] -* [My blog](https://rohieb.wordpress.com/) +* [[Blag]] * [My public PGP key](https://rohieb.name/DD2C3FEA.pubkey.asc) * [[Contact me|contact]]