From: Jon Dowland Date: Wed, 11 Jan 2012 15:13:46 +0000 (+0000) Subject: backlink(.) doesn't work X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0278ddd6c1ba3fdfdc987aea8580b7fee452c226;p=ikiwiki.git backlink(.) doesn't work --- diff --git a/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn b/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn new file mode 100644 index 000000000..6ec53d504 --- /dev/null +++ b/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn @@ -0,0 +1,6 @@ +It seems `backlink(.)` doesn't work, that is, it doesn't match pages linked +to from the current page. + +[[!inline pages=test1 raw=true]] + +— [[Jon]] diff --git a/doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn b/doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn new file mode 100644 index 000000000..7fe3d70fe --- /dev/null +++ b/doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn @@ -0,0 +1,10 @@ +test1 links to [[test2]]. + +`backlink(test1)`: + +[[!map pages="backlink(test1)"]] + +`backlink(.)`: + +[[!map pages="backlink(.)"]] + diff --git a/doc/bugs/backlink__40__.__41___doesn__39__t_work/test2.mdwn b/doc/bugs/backlink__40__.__41___doesn__39__t_work/test2.mdwn new file mode 100644 index 000000000..a8b76dea9 --- /dev/null +++ b/doc/bugs/backlink__40__.__41___doesn__39__t_work/test2.mdwn @@ -0,0 +1 @@ +test2!