diff options
author | Alan Pearce | 2024-06-25 20:26:46 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-25 20:26:46 +0200 |
commit | d2b554d23efb16a55856de0c28990e0f5aaad5bf (patch) | |
tree | 3123e467180bcd48c980f25e9a6d5d3339854dd7 /internal/builder/builder.go | |
parent | 17db1a29b12487c8ae596a9be108fd3563e5e47d (diff) | |
download | website-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.go | 2 |
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 } |