diff options
author | jmtd <jmtd@web> | 2020-04-27 04:58:47 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2020-04-27 04:58:47 -0400 |
commit | 7e52d89380e8efc948c95a48ee8ef0807e93739f (patch) | |
tree | d30008a26900f22d5a8e90e582915b7428e2f834 | |
parent | 9b932611101d310def92c1e58c0385ef1903880f (diff) | |
download | ikiwiki-7e52d89380e8efc948c95a48ee8ef0807e93739f.tar ikiwiki-7e52d89380e8efc948c95a48ee8ef0807e93739f.tar.gz |
how I do this
-rw-r--r-- | doc/bugs/map_sorts_by_pagename_and_not_title_when_show__61__title_is_used.mdwn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/bugs/map_sorts_by_pagename_and_not_title_when_show__61__title_is_used.mdwn b/doc/bugs/map_sorts_by_pagename_and_not_title_when_show__61__title_is_used.mdwn index d12414d55..d0e7e48ad 100644 --- a/doc/bugs/map_sorts_by_pagename_and_not_title_when_show__61__title_is_used.mdwn +++ b/doc/bugs/map_sorts_by_pagename_and_not_title_when_show__61__title_is_used.mdwn @@ -17,4 +17,10 @@ The [[ikiwiki/directive/map]] directive sort by pagename. That looks kind of odd >>>> You might want to check if the [[plugins/contrib/report]] plugin solves your problem. It can sort by title, among other things. --[[KathrynAndersen]] +>>>> I realise OP posted this 10 years ago, but here's how I do it: I generate <https://jmtd.net/log/all/> using +>>>> `inline` with `archive=yes` and a custom template which defines the LI element content for each post. I then include +>>>> these inlines (one per calendar year) via *another* template, which has the wrapping UL elements in it. These +>>>> templates are `.tmpl` files (and live in my custom `templatedir`, although that might not matter) which means +>>>> they avoid the htmlscrubber. *— [[Jon]], 2020-04-27* + >> See also: [[todo/sort_parameter_for_map_plugin_and_directive]] --[[smcv]] |