diff --git a/indexHtml.go b/indexHtml.go index 7f56e18..1a87995 100644 --- a/indexHtml.go +++ b/indexHtml.go @@ -153,14 +153,6 @@ func indexDivEnd(w http.ResponseWriter) { } func indexBodyEnd(w http.ResponseWriter) { - fmt.Fprintln(w, "
") - fmt.Fprintln(w, "echo deb http://mirrors.wit.com/wit/ sid main > /etc/apt/sources.list.d/wit.list
") - fmt.Fprintln(w, "apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4A854AEAF7E0E16D
") - fmt.Fprintln(w, "apt update
") - fmt.Fprintln(w, "apt install go-clone # replicates the old 'go get' behavior
") - fmt.Fprintln(w, "apt install go-deb # make a debian package from a golang project
") - fmt.Fprintln(w, "apt install networkquality # debian package of apple's command line speedtest tool
") - fmt.Fprintln(w, "apt install virtigo # virt-manager from the command line (runs wit.com)
") fmt.Fprintln(w, " ") fmt.Fprintln(w, " ") } diff --git a/main.go b/main.go index 88f7271..97a539e 100644 --- a/main.go +++ b/main.go @@ -54,6 +54,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) { indexBodyStart(w) indexBodyScanConfig(w) indexDivEnd(w) + writeFile(w, "footer.html") indexBodyEnd(w) return } diff --git a/resources/footer.html b/resources/footer.html new file mode 100644 index 0000000..1501276 --- /dev/null +++ b/resources/footer.html @@ -0,0 +1,9 @@ +
+echo deb http://mirrors.wit.com/wit/ sid main > /etc/apt/sources.list.d/wit.list
+apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4A854AEAF7E0E16D
+apt update
+apt install go-clone # replicates the old 'go get' behavior
+apt install go-deb # make a debian package from a golang project
+apt install networkquality # debian package of apple's command line speedtest tool
+apt install virtigo # virt-manager from the command line (runs wit.com)
+