From abea3d93a675f0689d4a8833825546d7ac01942a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 26 Jan 2025 14:38:13 +0100 Subject: fix tags links --- internal/builder/builder.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal') 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 } -- cgit 1.4.1