Compare commits

..

2 Commits

Author SHA1 Message Date
Kelvin Ly 6f10d4df88 Update resume to be latest 2020-06-20 08:22:00 -04:00
Kelvin Ly f831b8bb13 Update CSS, remove stuff from root page 2020-06-20 08:21:12 -04:00
4 changed files with 9 additions and 6 deletions

View File

@ -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);
}

View File

@ -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)

2
resume

@ -1 +1 @@
Subproject commit ebda2c3802c3f94820a711bd5348125df4570430
Subproject commit 4aa777f1da2f825f45837ee569cd2e919fd6b9fd

2
static

@ -1 +1 @@
Subproject commit ded137546cc8b0ed3f27fd3f01b8a04172e6425c
Subproject commit cf3dd0daac08bb88601e5cd13b1e45a477a700c3