aboutsummaryrefslogtreecommitdiffstats
path: root/archive
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 /archive
parent06d17d98b34c6daf786aa808f73e6f4692d50da0 (diff)
downloadsnkt-aee32aafdfe313be5b5fff21866e4bd562a7e545.tar.gz
snkt-aee32aafdfe313be5b5fff21866e4bd562a7e545.tar.bz2
snkt-aee32aafdfe313be5b5fff21866e4bd562a7e545.zip
tags support wip
Diffstat (limited to 'archive')
-rw-r--r--archive/tag.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/archive/tag.go b/archive/tag.go
index 038ccb8..8c1b96d 100644
--- a/archive/tag.go
+++ b/archive/tag.go
@@ -24,9 +24,8 @@ func (ta TagArchive) Render() []byte {
return render.Render(tagTmplName, ta)
}
-/* TODO: make this configurable */
func (ta TagArchive) Target() string {
- return path.Join(config.Config.HtmlDir, "/tag/", fmt.Sprintf("%s.html", ta.Tag))
+ return path.Join(config.Config.HtmlDir, "tag", t, "index.html")
}
type TagArchives []*TagArchive