From d2b554d23efb16a55856de0c28990e0f5aaad5bf Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 25 Jun 2024 20:26:46 +0200 Subject: use a normal filename for homepage --- content/_index.md | 7 ------- content/index.md | 7 +++++++ internal/builder/builder.go | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 content/_index.md create mode 100644 content/index.md diff --git a/content/_index.md b/content/_index.md deleted file mode 100644 index 7239667..0000000 --- a/content/_index.md +++ /dev/null @@ -1,7 +0,0 @@ -+++ -title = "Home" -+++ -
-I work as a back-end and infrastructure developer in Berlin. I occasionally write about Emacs and -development-related topics. -
diff --git a/content/index.md b/content/index.md new file mode 100644 index 0000000..7239667 --- /dev/null +++ b/content/index.md @@ -0,0 +1,7 @@ ++++ +title = "Home" ++++ ++I work as a back-end and infrastructure developer in Berlin. I occasionally write about Emacs and +development-related topics. +
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 } -- cgit 1.4.1