this logging was of little value and caused sadness

pull/1/head
vilmibm 2023-03-03 21:18:23 +00:00
parent 28ac63f256
commit 4847c19eaf
1 changed files with 0 additions and 5 deletions

View File

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