- Timestamp:
- Jun 13, 2022, 4:34:20 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cli/html.ml
r3 r5 84 84 in 85 85 List.fold_left 86 (fun a m -> 87 a ^ Logarion.(Date.(pretty_date (listing m.Text.date)) ^ " ")88 ^ {|<a href="|} ^ Logarion.Text.short_id m ^ {|.htm">|} ^ m.Logarion.Text.title ^ "</a><br>")86 (fun a m -> Printf.sprintf "%s<li> %s <a href=\"%s.htm\">%s</a>" a 87 Logarion.(Date.(pretty_date (listing m.Text.date))) 88 (Logarion.Text.short_id m) m.Logarion.Text.title) 89 89 "" meta_list 90 90 … … 147 147 wrap conv htm "Topics" 148 148 (fold_topic_roots topic_roots 149 ^ "<nav><h1>Latest</h1> " ^ to_dated_links ~limit:10metas150 ^ {|< a href="index.date.htm">More by date</a></nav>|} )149 ^ "<nav><h1>Latest</h1><ul>" ^ to_dated_links ~limit:8 metas 150 ^ {|</ul><a href="index.date.htm">More by date</a></nav>|} ) 151 151 152 152 let topic_sub_index conv htm topic_map topic_root metas =
Note:
See TracChangeset
for help on using the changeset viewer.