Re-add favicon
authorMira Ayre <mi@boxin.space>
Mon, 24 Jan 2022 18:16:34 +0000 (18:16 +0000)
committerMira Ayre <mi@boxin.space>
Mon, 24 Jan 2022 18:16:34 +0000 (18:16 +0000)
Also removed some unused images

Makefile
img/border.png [deleted file]
img/pagesleft.png [deleted file]
img/pagesright.png [deleted file]
img/trans.png [deleted file]
lib.sh

index 834d9f4de5b2179b5bbe2d19404148e900530fa8..ec53b4732cfd74bec1a3451032fcfa3c3ff40b69 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,10 +5,10 @@ POSTSOUT = $(patsubst %.md, %.html, $(POSTS))
 
 site: $(FILESOUT) $(POSTSOUT) robots.txt
 
-./%.html : ./%.html.sh
+./%.html : ./%.html.sh ./lib.sh
        inspr "$<" | bash | tee "$@" >/dev/null
 
-blog/%.html : blog/%.md ./blog.sh
+blog/%.html : blog/%.md ./blog.sh ./lib.sh
        ./blog.sh "$<" | tee "$@" >/dev/null
 
 robots.txt: robots.txt.sh
diff --git a/img/border.png b/img/border.png
deleted file mode 100644 (file)
index b6787cf..0000000
Binary files a/img/border.png and /dev/null differ
diff --git a/img/pagesleft.png b/img/pagesleft.png
deleted file mode 100644 (file)
index 965ad10..0000000
Binary files a/img/pagesleft.png and /dev/null differ
diff --git a/img/pagesright.png b/img/pagesright.png
deleted file mode 100644 (file)
index f2cbd1c..0000000
Binary files a/img/pagesright.png and /dev/null differ
diff --git a/img/trans.png b/img/trans.png
deleted file mode 100644 (file)
index 66bd6e3..0000000
Binary files a/img/trans.png and /dev/null differ
diff --git a/lib.sh b/lib.sh
index 9aa0bbf8ede836dae8d20666186628758ce2236f..06ac933e455240f63fe355d66cd1b22de6045ce6 100644 (file)
--- a/lib.sh
+++ b/lib.sh
@@ -5,6 +5,7 @@ cat <<EOF >/dev/stdout
        <title>$@ // Box in Space</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+       <link type="image/png" rel="shortcut icon" href="/img/favicon.png">
        <link type="text/css" rel="stylesheet" href="/global.css">
 EOF
 }