aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-04-17 06:10:41 +0000
committerFuwn <[email protected]>2023-04-17 06:10:41 +0000
commit073cb8daf42fe8ddbc9a762e009dc41c34f53b80 (patch)
treee54dd938563595a802c6e5176df96844405a3456 /src
parentfeat(git): ignore vscode files (diff)
downloadseptember-073cb8daf42fe8ddbc9a762e009dc41c34f53b80.tar.xz
september-073cb8daf42fe8ddbc9a762e009dc41c34f53b80.zip
style(response): format style
Diffstat (limited to 'src')
-rw-r--r--src/response.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/response.rs b/src/response.rs
index 5f56878..3b88bcc 100644
--- a/src/response.rs
+++ b/src/response.rs
@@ -160,8 +160,7 @@ For example: to proxy "gemini://fuwn.me/uptime", visit "/proxy/fuwn.me/uptime".<
for stylesheet in stylesheets {
html_context.push_str(&format!(
- "<link rel=\"stylesheet\" type=\"text/css\" href=\"{}\">",
- stylesheet,
+ "<link rel=\"stylesheet\" type=\"text/css\" href=\"{stylesheet}\">",
));
}
}
@@ -170,8 +169,7 @@ For example: to proxy "gemini://fuwn.me/uptime", visit "/proxy/fuwn.me/uptime".<
// variable.
if let Ok(favicon) = var("FAVICON_EXTERNAL") {
html_context.push_str(&format!(
- "<link rel=\"icon\" type=\"image/x-icon\" href=\"{}\">",
- favicon
+ "<link rel=\"icon\" type=\"image/x-icon\" href=\"{favicon}\">",
));
}