summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authorgrunfink <grunfink@noreply.codeberg.org>2024-01-28 10:10:07 +0000
committergrunfink <grunfink@noreply.codeberg.org>2024-01-28 10:10:07 +0000
commit5c8992de0c254487b95ae4e794f2ed1d94b372b2 (patch)
tree0834b0ff130bda2fa0e1c1f433d9a475d4b1a439 /utils.c
parentd5c2c442b162da388ae3fa274b44ec676cbca2c4 (diff)
parentfe892622d33e45dd110abb8e6251b672ae1181d0 (diff)
Merge pull request 'feature(favicon): Add favicon support (#107)' (#109) from gyptazy/snac2:feature/107-add-favicon-support-1st-ite into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/109
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils.c b/utils.c
index 9992205..0d02659 100644
--- a/utils.c
+++ b/utils.c
@@ -81,6 +81,7 @@ static const char *greeting_html =
"<!DOCTYPE html>\n"
"<html><head>\n"
"<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/>\n"
+ "<link rel=\"icon\" type=\"image/x-icon\" href=\"https://%host%/favicon.ico\"/>\n"
"<title>Welcome to %host%</title>\n"
"<body style=\"margin: auto; max-width: 50em\">\n"
"%blurb%"