aboutsummaryrefslogtreecommitdiffstats
path: root/site/site.go
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2017-04-16 12:05:58 -0700
committerAdam Mathes <adam@trenchant.org>2017-04-16 12:05:58 -0700
commitaee32aafdfe313be5b5fff21866e4bd562a7e545 (patch)
treec9014a9ba9076837cd15fd3bb198143703b5886f /site/site.go
parent06d17d98b34c6daf786aa808f73e6f4692d50da0 (diff)
downloadsnkt-aee32aafdfe313be5b5fff21866e4bd562a7e545.tar.gz
snkt-aee32aafdfe313be5b5fff21866e4bd562a7e545.tar.bz2
snkt-aee32aafdfe313be5b5fff21866e4bd562a7e545.zip
tags support wip
Diffstat (limited to 'site/site.go')
-rw-r--r--site/site.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/site/site.go b/site/site.go
index f897171..00814ce 100644
--- a/site/site.go
+++ b/site/site.go
@@ -48,7 +48,6 @@ func (s *Site) Read() {
}
if render.TmplExists("tag") {
s.Tagged = archive.ParseTags(s.Posts)
- log.Printf("%v\n", s.Tagged)
}
if render.TmplExists("home") {
s.Home = archive.NewListArchive(s.Posts)
@@ -133,7 +132,6 @@ func (s *Site) WriteArchives() {
}
if render.TmplExists("tag") {
for _, t := range *s.Tagged {
- log.Printf("%s\n%v\n\n", t.Tag, t.Posts)
t.Site = s
render.Write(t)
}