diff --git a/stats/stats.go b/stats/stats.go index 41f01d0..3a09a91 100644 --- a/stats/stats.go +++ b/stats/stats.go @@ -5,7 +5,6 @@ import ( "bytes" "fmt" "io/ioutil" - "log" "os" "os/exec" "path" @@ -16,8 +15,6 @@ import ( "time" ) -// TODO FIX LOGGING TO STDOUT (move this to the cmd) - const defaultIndexPath = "/etc/skel/public_html/index.html" const description = `an intentional digital community for creating and sharing works of art, peer education, and technological anachronism. we are @@ -99,8 +96,6 @@ func getNews() (entries []NewsEntry, err error) { current.Pubdate = strings.TrimSpace(kv[1]) } else if kv[0] == "title" { current.Title = strings.TrimSpace(kv[1]) - } else { - log.Printf("ignoring unknown metadata in news entry: %v\n", newsLine) } if current.Pubdate != "" && current.Title != "" { inMeta = false