From aee32aafdfe313be5b5fff21866e4bd562a7e545 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Sun, 16 Apr 2017 12:05:58 -0700 Subject: tags support wip --- archive/tag.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'archive/tag.go') 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 -- cgit v1.2.3