X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/bab8fec52468b780485bdf96a37a593bd033c7e3..1335c31e852ed89637b529c8d4f6f7b9a0a19dae:/doc/bugs/map_sorts_by_pagename_and_not_title_when_show__61__title_is_used.mdwn 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 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]]