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 | |
parent | 17db1a29b12487c8ae596a9be108fd3563e5e47d (diff) | |
download | website-d2b554d23efb16a55856de0c28990e0f5aaad5bf.tar.lz website-d2b554d23efb16a55856de0c28990e0f5aaad5bf.tar.zst website-d2b554d23efb16a55856de0c28990e0f5aaad5bf.zip |
use a normal filename for homepage
-rw-r--r-- | content/index.md (renamed from content/_index.md) | 0 | ||||
-rw-r--r-- | internal/builder/builder.go | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/content/_index.md b/content/index.md index 7239667..7239667 100644 --- a/content/_index.md +++ b/content/index.md 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 } |