Changeset 21 in code for trunk/cli/html.ml


Ignore:
Timestamp:
Nov 1, 2022, 5:11:09 PM (2 years ago)
Author:
fox
Message:

Moved conversion file, conf -> pack, fixes

Conversion:

  • Configuration sought in: txt.conf, ~/.config/txt/txt.conf
  • logarion.conf to produce index and target formats

Publication:

  • publish <ids>: copies txt with ID into Pubdir/public_{html,gemini,gopher} (Pubdir fromtxt.conf), if dirs exist, and runs convert <pubdir>

Fixes:

  • Feed <nav> regression
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cli/html.ml

    r20 r21  
    2828        let header = match htm.templates.header with
    2929                | Some x -> replace x
    30                 | None -> Printf.(sprintf "<header><a href='.'>%s</a></header>%s" site_title
     30                | None -> Printf.(sprintf "<header><a href='.'>%s</a>%s</header>" site_title
    3131                                (if feed <> "" then sprintf "<nav><a href='%s' id='feed'>feed</a></nav>" feed else ""))
    3232        in
Note: See TracChangeset for help on using the changeset viewer.