diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/response.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/response.rs b/src/response.rs index 4f7c693..911880f 100644 --- a/src/response.rs +++ b/src/response.rs @@ -178,6 +178,10 @@ For example: to proxy "gemini://fuwn.me/uptime", visit "/proxy/fuwn.me/uptime".< ); } + if let Ok(head) = var("HEAD") { + html_context.push_str(&head); + } + // Add a title to HTML response html_context.push_str(&format!("<title>{gemini_title}</title>")); html_context.push_str("</head><body>"); |