commit 591a0d20ab6d174a655969b8d04f9f0d6c05617b parent fa4be88f7902da6f293808c8cb8ef694389de637 Author: Drew DeVault <sir@cmpwn.com> Date: Tue, 20 Apr 2021 12:31:51 -0400 haredoc: improve generated <title> markup Diffstat:
M | cmd/haredoc/html.ha | | | 5 | ++--- |
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/cmd/haredoc/html.ha b/cmd/haredoc/html.ha @@ -327,9 +327,8 @@ fn head(ident: ast::ident) (void | error) = { fmt::printfln("<!doctype html> <html lang='en'> <meta charset='utf-8' /> -<title>{} — Hare documentation", ident)?; - fmt::println("</title> -<style> +<title>{} — Hare documentation</title>", ident)?; + fmt::println("<style> body { font-family: sans-serif; line-height: 1.3;