all repos — website @ d2b554d23efb16a55856de0c28990e0f5aaad5bf

My website

use a normal filename for homepage
Alan Pearce alan@alanpearce.eu
Tue, 25 Jun 2024 20:26:46 +0200
commit

d2b554d23efb16a55856de0c28990e0f5aaad5bf

parent

17db1a29b12487c8ae596a9be108fd3563e5e47d

2 files changed, 1 insertions(+), 1 deletions(-)

jump to
M internal/builder/builder.gointernal/builder/builder.go
@@ -217,7 +217,7 @@ } 	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
 	}