From 01b968a688fedecd0e660a3479ee972454d83bb7 Mon Sep 17 00:00:00 2001 From: Medium Fries Date: Thu, 21 Mar 2019 19:13:12 -0700 Subject: [PATCH] adding favicon support in index page --- make.sh | 3 ++- templates/favicon.html | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 templates/favicon.html diff --git a/make.sh b/make.sh index 5bea8c1..3eb9f1f 100755 --- a/make.sh +++ b/make.sh @@ -26,7 +26,6 @@ style() { page() { pandoc $mPageDir/$1 --css style.css -s -o $rootDir/page/${1%.*}.html - } # literally just updates the index file nothing else @@ -35,6 +34,8 @@ index() { pandoc ./markdown/index.md --css style.css -s -o $rootDir/index.html # typing succs # next we inject the navbar html stuff sed -i '7r ./templates/navbar.html' $rootDir/index.html + # finally inject the link for the favicon + sed -i '3r ./templates/favicon.html' $rootDir/index.html } # taking function names as param diff --git a/templates/favicon.html b/templates/favicon.html new file mode 100644 index 0000000..e841c60 --- /dev/null +++ b/templates/favicon.html @@ -0,0 +1 @@ +