From 7e52d89380e8efc948c95a48ee8ef0807e93739f Mon Sep 17 00:00:00 2001 From: jmtd Date: Mon, 27 Apr 2020 04:58:47 -0400 Subject: how I do this --- ...orts_by_pagename_and_not_title_when_show__61__title_is_used.mdwn | 6 ++++++ 1 file changed, 6 insertions(+) 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]] -- cgit v1.2.3