aboutsummaryrefslogtreecommitdiff
path: root/hotline/news.go
diff options
context:
space:
mode:
Diffstat (limited to 'hotline/news.go')
-rw-r--r--hotline/news.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/hotline/news.go b/hotline/news.go
index 11e2a27..38db97a 100644
--- a/hotline/news.go
+++ b/hotline/news.go
@@ -7,6 +7,14 @@ import (
"sort"
)
+const defaultNewsDateFormat = "Jan02 15:04" // Jun23 20:49
+
+const defaultNewsTemplate = `From %s (%s):
+
+%s
+
+__________________________________________________________`
+
type ThreadedNews struct {
Categories map[string]NewsCategoryListData15 `yaml:"Categories"`
}