aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2017-04-16 12:15:00 -0700
committerAdam Mathes <adam@trenchant.org>2017-04-16 12:15:00 -0700
commitc86206a673525cd8401750400517c5aa2875d8ec (patch)
treefa44c2017215b79a5ca70744effc010ea65cfda8
parent3f06277f3df483c2c7b5e0441998139a9570f088 (diff)
downloadsnkt-c86206a673525cd8401750400517c5aa2875d8ec.tar.gz
snkt-c86206a673525cd8401750400517c5aa2875d8ec.tar.bz2
snkt-c86206a673525cd8401750400517c5aa2875d8ec.zip
fix tag.go
-rw-r--r--archive/tag.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/archive/tag.go b/archive/tag.go
index 8c1b96d..3554d9c 100644
--- a/archive/tag.go
+++ b/archive/tag.go
@@ -25,7 +25,7 @@ func (ta TagArchive) Render() []byte {
}
func (ta TagArchive) Target() string {
- return path.Join(config.Config.HtmlDir, "tag", t, "index.html")
+ return path.Join(config.Config.HtmlDir, "tag", ta.Tag, "index.html")
}
type TagArchives []*TagArchive