2007-09-21 18:47:59 +02:00
|
|
|
ikiwiki's map directive is full of surprises. I have put a snapshot of the
|
|
|
|
site as it was when I saw the following problem at
|
|
|
|
<http://scratch.madduck.net/web__phd.martin-krafft.net__map-bug-2.tgz> and can
|
|
|
|
revert there any time, but I need to move on.
|
|
|
|
|
|
|
|
I have a few tags starting with `a` (abridged list):
|
|
|
|
|
2007-09-21 18:50:03 +02:00
|
|
|
$ ls wiki/factors/tag/a*
|
|
|
|
[...]
|
|
|
|
wiki/factors/tag/active/:
|
|
|
|
index.html
|
|
|
|
|
|
|
|
wiki/factors/tag/affects/:
|
|
|
|
contributors/ developers/ users/
|
|
|
|
[...]
|
2007-09-21 18:47:59 +02:00
|
|
|
|
|
|
|
In `wiki-wc/factors/tag.mdwn`, I have a map for these tags:
|
|
|
|
|
2008-07-21 13:46:47 +02:00
|
|
|
\[[!map pages="factors/tag/*"]]
|
2007-09-21 18:47:59 +02:00
|
|
|
|
|
|
|
and this works, except that for *whatever* reason, it actually sorts the three
|
|
|
|
`affects/*` tags under `active`:
|
|
|
|
|
2007-09-21 18:50:03 +02:00
|
|
|
$ w3m -dump wiki/factors/tag/index.html | grep active -A3
|
|
|
|
○ active
|
|
|
|
■ contributors
|
|
|
|
■ developers
|
|
|
|
■ users
|
2007-09-21 18:47:59 +02:00
|
|
|
|
2007-09-21 19:10:24 +02:00
|
|
|
And this is actually in the HTML code:
|
|
|
|
|
|
|
|
<li><a href="active/">active</a>
|
|
|
|
<ul>
|
|
|
|
<li><a href="affects/contributors/">contributors</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="affects/developers/">developers</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="affects/users/">users</a>
|
|
|
|
</li></ul>
|
|
|
|
</li>
|
|
|
|
<li><a href="approach/">approach</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
So it's not that the `<ul>` has an empty parent `<li>`, the three tags are
|
|
|
|
*really* children of `active`.
|
|
|
|
|
2007-09-21 18:47:59 +02:00
|
|
|
This really blows my mind. :)
|
2007-09-21 19:54:58 +02:00
|
|
|
|
|
|
|
Rendering issue. [[fixed|done]] --[[Joey]]
|