- Timestamp:
- Nov 6, 2022, 12:48:40 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cli/html.ml
r21 r24 59 59 then "<dt>" ^ key ^ "<dd>" ^ value else "" in 60 60 (* let author acc auth = sep_append acc Person.(auth.name ^ " ") in*) 61 let authors = (Person.Set.to_string text.authors ^ " ")in61 let authors = Person.Set.to_string text.authors in 62 62 let keywords = str_set "keywords" text in 63 63 let header = … … 72 72 ^ opt_kv "Title:" text.title 73 73 ^ opt_kv "Authors:" authors 74 ^ opt_kv "Date: 75 ^ opt_kv "Series: 76 ^ opt_kv "Topics: 77 ^ opt_kv "Keywords: 78 ^ opt_kv "Id: 74 ^ opt_kv "Date:" (time (Date.listing text.date)) 75 ^ opt_kv "Series:" (str_set "series" text) 76 ^ opt_kv "Topics:" (topic_links (set "topics" text)) 77 ^ opt_kv "Keywords:" keywords 78 ^ opt_kv "Id:" text.id 79 79 ^ {|</dl></header><pre style="white-space:pre-wrap">|} in 80 80 wrap conversion htm text.title ((T.of_string text.body header) ^ "</pre></article>")
Note:
See TracChangeset
for help on using the changeset viewer.