summaryrefslogtreecommitdiffstats
path: root/dmt
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2023-11-18 02:08:11 -0500
committerMalfurious <m@lfurio.us>2023-11-20 05:04:57 -0500
commite9bbc647e31248a3cde21ffa9977b5a3688cdb1e (patch)
treed723d88870261b65fbfb47a200b448526f92d682 /dmt
parent5e0a24511d51f1b1ba56fe80d5c5b673fe3245b0 (diff)
downloadcychedelic-e9bbc647e31248a3cde21ffa9977b5a3688cdb1e.tar.gz
cychedelic-e9bbc647e31248a3cde21ffa9977b5a3688cdb1e.zip
dmt: Add favicon
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'dmt')
-rwxr-xr-xdmt/dmt5
-rw-r--r--dmt/favicon.pngbin0 -> 5172 bytes
-rw-r--r--dmt/html/master.html1
3 files changed, 6 insertions, 0 deletions
diff --git a/dmt/dmt b/dmt/dmt
index 9234d97..3ea36c7 100755
--- a/dmt/dmt
+++ b/dmt/dmt
@@ -123,4 +123,9 @@ case ${route[0]} in
"script.js")
template "script.js" text/javascript
;;
+
+ "favicon.png")
+ printf 'Content-type: image/png\n\n'
+ cat "favicon.png"
+ ;;
esac
diff --git a/dmt/favicon.png b/dmt/favicon.png
new file mode 100644
index 0000000..8db6f62
--- /dev/null
+++ b/dmt/favicon.png
Binary files differ
diff --git a/dmt/html/master.html b/dmt/html/master.html
index fd57476..dfeeef3 100644
--- a/dmt/html/master.html
+++ b/dmt/html/master.html
@@ -4,6 +4,7 @@
<head>
<title>%{ echo -n "$CYCHE_SITE_NAME" | escape_html %}</title>
<link rel="stylesheet" type="text/css" href="/style.css" />
+ <link rel="icon" type="image/png" href="/favicon.png" />
</head>
<body>