From a26d012df64ca3ba787ecd793cb5d1d4250b3a98 Mon Sep 17 00:00:00 2001 From: "Kelvin Ly (on the cloud)" Date: Sat, 21 Dec 2019 06:14:18 +0000 Subject: [PATCH] Minor website changes --- main.css | 2 +- main.go | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/main.css b/main.css index 3223275..48fb1bc 100644 --- a/main.css +++ b/main.css @@ -21,7 +21,7 @@ article { } nav, footer { - background-color: rgb(1, 33, 1); + background-color: rgb(32, 164, 32); margin-right: auto; margin-left: auto; color: rgb(180, 220, 180); diff --git a/main.go b/main.go index dcac15c..a1bf73a 100644 --- a/main.go +++ b/main.go @@ -40,8 +40,7 @@ const HTML_HEADER = ` @@ -95,7 +94,7 @@ func serveMarkdown(w http.ResponseWriter, r *http.Request, paths ...string) { func rootHandler(w http.ResponseWriter, r *http.Request) { if r.Method == "GET" { if r.URL.Path == "/" { - serveMarkdown(w, r, "static/intro.md", "static/projects.md", "static/builds.md") + serveMarkdown(w, r, "static/intro.md", "static/builds.md") } else if strings.HasSuffix(r.URL.Path, ".md") { if strings.Contains(r.URL.Path, "..") { w.WriteHeader(403)