X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/4b1da14612c26981055dd186deacc004f93bdad0..3a35e99239755f683714f6482d83e992b9921134:/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 de178d415..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 @@ -16,3 +16,11 @@ The [[ikiwiki/directive/map]] directive sort by pagename. That looks kind of odd >> 2. I cannot get inline to create a list when the htmltidy plugin is switched on. I have a template which is enclosed in an li tag, and i put the ul tag around the inline manually, but htmltidy breaks this. --martin >>>> 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]]