fix tags links
Alan Pearce alan@alanpearce.eu
Sun, 26 Jan 2025 14:38:13 +0100
2 files changed, 3 insertions(+), 3 deletions(-)
M internal/builder/builder.go → internal/builder/builder.go
@@ -91,10 +91,10 @@ matchingPosts = append(matchingPosts, post) } } 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 }