]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Space sorting orders consistently
authorSimon McVittie <smcv@debian.org>
Sun, 11 Apr 2010 13:32:18 +0000 (14:32 +0100)
committerSimon McVittie <smcv@debian.org>
Sun, 11 Apr 2010 13:32:18 +0000 (14:32 +0100)
Markdown interprets the empty lines resulting from [[!if]] as a request
that each <li> contain a <p>. For consistent spacing in the HTML, either
the unconditional items should have blank lines between (resulting in
each <li> having a <p>), or the conditional items should not (resulting
in messy source code, and no <li> having a <p>). I think the former
looks nicer.

doc/ikiwiki/pagespec/sorting.mdwn

index 37995f1e89d6387f26f50e7553d47b8ed86f123a..ccd7f7eaa84dc773a57003d2e38d332cc97e1a05 100644 (file)
@@ -4,7 +4,9 @@ specifying the order that matching pages are shown in. The following sort
 orders can be specified.
 
 * `age` - List pages from the most recently created to the oldest.
+
 * `mtime` - List pages with the most recently modified first.
+
 * `title` - Order by title (page name).
 [[!if test="enabled(sortnaturally)" then="""
 * `title_natural` - Orders by title, but numbers in the title are treated