summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttps://www.google.com/accounts/o8/id?id=AItOawkd3OQ-XyZ7mYJyCT3mMLBt05DuuZ_1Gvo <Jimmy@web>2011-04-10 05:23:07 -0400
committerJoey Hess <joey@kitenet.net>2011-04-10 05:23:07 -0400
commitbffa900977c34d94e67957501d95227c64acf22a (patch)
tree9e1775a1cad174869a334084788f8bc5693d1610
parent0e173f38aea0b72dce9dd4994335569f5cfecce4 (diff)
-rw-r--r--doc/forum/Doing_related_links_based_on_tags.mdwn6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/forum/Doing_related_links_based_on_tags.mdwn b/doc/forum/Doing_related_links_based_on_tags.mdwn
index 6b1460941..3de801946 100644
--- a/doc/forum/Doing_related_links_based_on_tags.mdwn
+++ b/doc/forum/Doing_related_links_based_on_tags.mdwn
@@ -4,7 +4,7 @@ I've been recently using a template this
----
Related posts:
-[[\!inline pages="blog/posts/*
+\[[!inline pages="blog/posts/*
and !blog/posts/*/*
and !Discussion
and !tagged(draft)
@@ -17,8 +17,8 @@ Related posts:
Which I then call by doing this at the end of my blog posts on my ikiwiki install
<pre>
-[[\!tag software linux]]
-[[\!template id=related tagged="tagged(software) or tagged(linux)"]]
+\[[!tag software linux]]
+\[[!template id=related tagged="tagged(software) or tagged(linux)"]]
</pre>
It somewhat works, I was wondering if anyone else has tried to do something like the above to get "related posts" based on tags. The way that I have done it isn't very clever as it only links to the last 5 most recently posted items based on my parameters. Is it possible to "randomly" select a bunch of links from a set of user defined pagespecs?