From 9f8ab76c64bc9b29e994e63d5e24498d1da14bc2 Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Tue, 10 Nov 2026 10:59:48 +1300 Subject: Fix default HTML template The default HTML template was missing the opening tag. --- src/generate_html.rs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/generate_html.rs') diff --git a/src/generate_html.rs b/src/generate_html.rs index 3b6ee62..b19d8b7 100644 --- a/src/generate_html.rs +++ b/src/generate_html.rs @@ -6,6 +6,7 @@ use recipe::*; const DEFAULT_TEMPLATE: &str = "\ + {page_name} — {site_name} @@ -90,11 +91,12 @@ pub fn generate_html_redirect(path: &str, website: &Website) -> String { let path = sanitize_text(path, false); format!("\ - -Redirecting... - -{head} - + + + Redirecting... + + {head} + ") } -- cgit v1.3.1