We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db2c8b6 commit 3406e8fCopy full SHA for 3406e8f
make.sh
@@ -12,7 +12,10 @@ if [ ! -f index.html ]; then
12
fi
13
14
# Add favicon
15
-sed -i '' '8i\
16
- <link rel="icon" type="image/png" href="docs/favicon.png"/>' index.html
+{
+ head -n 7 index.html
17
+ echo ' <link rel="icon" type="image/png" href="docs/favicon.png"/>'
18
+ tail -n +8 index.html
19
+} > temp.html && mv temp.html index.html
20
21
echo -e "\nDone!"
0 commit comments