diff options
Diffstat (limited to 'internal/builder')
-rw-r--r-- | internal/builder/builder.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/builder/builder.go b/internal/builder/builder.go index df66f87..90df0f1 100644 --- a/internal/builder/builder.go +++ b/internal/builder/builder.go @@ -91,10 +91,10 @@ func build(ioConfig *IOConfig, config *config.Config, log *log.Logger) (*Result, } } log.Debug("rendering tags page", "tag", tag) - url := "/tags/" + tag + url := path.Join("tags", tag) + "/" if err := storage.RenderToFile( templates.TagPage(config, tag, matchingPosts, url), - path.Join("tags", tag)+"/", + url, ); err != nil { return nil, err } |