From f831b8bb13abdcadf067d20859afe6cddeb50057 Mon Sep 17 00:00:00 2001 From: Kelvin Ly Date: Sat, 20 Jun 2020 08:21:12 -0400 Subject: [PATCH] Update CSS, remove stuff from root page --- main.css | 7 +++++-- main.go | 4 ++-- static | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/main.css b/main.css index a30e017..6894816 100644 --- a/main.css +++ b/main.css @@ -21,8 +21,8 @@ article { padding-bottom: 4em; } -nav, footer { - background-color: rgb(32, 164, 32); +nav { + background-color: rgb(32, 32, 32); margin-right: auto; margin-left: auto; color: rgb(180, 220, 180); @@ -38,6 +38,9 @@ footer { a { text-decoration: none; +} + +nav a { color: rgb(220, 220, 250); } diff --git a/main.go b/main.go index 5e0fb13..9e16a18 100644 --- a/main.go +++ b/main.go @@ -23,7 +23,7 @@ import ( //blackfriday "gopkg.in/russross/blackfriday.v2" ) -const DEBUG = false +const DEBUG = true const DOMAIN_NAME = "threefortiethofonehamster.com" @@ -95,7 +95,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/builds.md") + serveMarkdown(w, r, "static/intro.md") } else if strings.HasSuffix(r.URL.Path, ".md") { if strings.Contains(r.URL.Path, "..") { w.WriteHeader(403) diff --git a/static b/static index ded1375..cf3dd0d 160000 --- a/static +++ b/static @@ -1 +1 @@ -Subproject commit ded137546cc8b0ed3f27fd3f01b8a04172e6425c +Subproject commit cf3dd0daac08bb88601e5cd13b1e45a477a700c3