about summary refs log tree commit diff stats
path: root/internal/builder/builder.go
diff options
context:
space:
mode:
authorAlan Pearce2024-06-25 20:26:46 +0200
committerAlan Pearce2024-06-25 20:26:46 +0200
commitd2b554d23efb16a55856de0c28990e0f5aaad5bf (patch)
tree3123e467180bcd48c980f25e9a6d5d3339854dd7 /internal/builder/builder.go
parent17db1a29b12487c8ae596a9be108fd3563e5e47d (diff)
downloadwebsite-d2b554d23efb16a55856de0c28990e0f5aaad5bf.tar.lz
website-d2b554d23efb16a55856de0c28990e0f5aaad5bf.tar.zst
website-d2b554d23efb16a55856de0c28990e0f5aaad5bf.zip
use a normal filename for homepage
Diffstat (limited to 'internal/builder/builder.go')
-rw-r--r--internal/builder/builder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/builder/builder.go b/internal/builder/builder.go
index 900ce15..08fa374 100644
--- a/internal/builder/builder.go
+++ b/internal/builder/builder.go
@@ -217,7 +217,7 @@ func build(outDir string, config config.Config) (*Result, error) {
 	r.Hashes = append(r.Hashes, h)
 
 	log.Debug("rendering homepage")
-	_, text, err := content.GetPost(path.Join("content", "_index.md"))
+	_, text, err := content.GetPost(path.Join("content", "index.md"))
 	if err != nil {
 		return nil, err
 	}