Compare commits

..

No commits in common. "6f10d4df882b3d95d9316f3f76f848ca53840007" and "2372455e228d8b7e73c5137c0f361da8e8380740" have entirely different histories.

4 changed files with 6 additions and 9 deletions

View File

@ -21,8 +21,8 @@ article {
padding-bottom: 4em;
}
nav {
background-color: rgb(32, 32, 32);
nav, footer {
background-color: rgb(32, 164, 32);
margin-right: auto;
margin-left: auto;
color: rgb(180, 220, 180);
@ -38,9 +38,6 @@ 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 = true
const DEBUG = false
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")
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)

2
resume

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

2
static

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