about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--cmd/build/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/build/main.go b/cmd/build/main.go
index ad905fd..5e19517 100644
--- a/cmd/build/main.go
+++ b/cmd/build/main.go
@@ -77,7 +77,7 @@ func readPosts(root string, inputDir string, outputDir string) ([]Post, Tags, er
 	}
 	outputReplacer := strings.NewReplacer(root, outputDir, ".md", "/index.html")
 	urlReplacer := strings.NewReplacer(root, "", ".md", "/")
-	md := goldmark.New(
+	markdown := goldmark.New(
 		goldmark.WithRendererOptions(
 			html.WithUnsafe(),
 		),
@@ -102,7 +102,7 @@ func readPosts(root string, inputDir string, outputDir string) ([]Post, Tags, er
 			}
 
 			var buf bytes.Buffer
-			if err := md.Convert(*content, &buf); err != nil {
+			if err := markdown.Convert(*content, &buf); err != nil {
 				return nil, nil, errors.WithMessage(err, "could not convert markdown content")
 			}
 			post := Post{