forked from tildetown/town
this logging was of little value and caused sadness
parent
28ac63f256
commit
4847c19eaf
|
@ -5,7 +5,6 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"log"
|
|
||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"path"
|
"path"
|
||||||
|
@ -16,8 +15,6 @@ import (
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TODO FIX LOGGING TO STDOUT (move this to the cmd)
|
|
||||||
|
|
||||||
const defaultIndexPath = "/etc/skel/public_html/index.html"
|
const defaultIndexPath = "/etc/skel/public_html/index.html"
|
||||||
const description = `an intentional digital community for creating and sharing
|
const description = `an intentional digital community for creating and sharing
|
||||||
works of art, peer education, and technological anachronism. we are
|
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])
|
current.Pubdate = strings.TrimSpace(kv[1])
|
||||||
} else if kv[0] == "title" {
|
} else if kv[0] == "title" {
|
||||||
current.Title = strings.TrimSpace(kv[1])
|
current.Title = strings.TrimSpace(kv[1])
|
||||||
} else {
|
|
||||||
log.Printf("ignoring unknown metadata in news entry: %v\n", newsLine)
|
|
||||||
}
|
}
|
||||||
if current.Pubdate != "" && current.Title != "" {
|
if current.Pubdate != "" && current.Title != "" {
|
||||||
inMeta = false
|
inMeta = false
|
||||||
|
|
Loading…
Reference in New Issue