summaryrefslogtreecommitdiffhomepage
path: root/blog
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2015-11-10 13:54:50 -0700
committerSean Whitton <spwhitton@spwhitton.name>2015-11-10 13:54:50 -0700
commit03f71aa8ebac1744103a3db6fb57e6fb89c5f17f (patch)
tree02db996480c18e93d43d8e241f37cd2f7dc34a05 /blog
parent07cb445d785a96fc0eef3733f0f058bdd503456a (diff)
downloadwiki-03f71aa8ebac1744103a3db6fb57e6fb89c5f17f.tar.gz
tagging & tidier archives index code
Diffstat (limited to 'blog')
-rw-r--r--blog/archives.mdwn9
-rw-r--r--blog/entry/first_post.mdwn2
-rw-r--r--blog/tags.mdwn2
3 files changed, 5 insertions, 8 deletions
diff --git a/blog/archives.mdwn b/blog/archives.mdwn
index af97832..25e7b28 100644
--- a/blog/archives.mdwn
+++ b/blog/archives.mdwn
@@ -1,8 +1,3 @@
-[[!if test="blog/archives/*" then="""
-Weblog archives by year:
+[[Weblog|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/blog/entry/first_post.mdwn b/blog/entry/first_post.mdwn
index 50e2f9d..cc8adf1 100644
--- a/blog/entry/first_post.mdwn
+++ b/blog/entry/first_post.mdwn
@@ -1,3 +1,5 @@
+[[!tag test]]
+
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.
diff --git a/blog/tags.mdwn b/blog/tags.mdwn
index 5e40717..a387ebc 100644
--- a/blog/tags.mdwn
+++ b/blog/tags.mdwn
@@ -1,3 +1,3 @@
-[[!pagestats pages="./tags/*" among="./entry/*"]]
+[[!pagestats pages="tag/*" among="blog/entry/*"]]
On the right you can see the tag cloud for this blog.