- - {{$a.Title}} + + {{.Title}}
- {{if $a.SEODescription}} -{{$a.SEODescription}}
+ {{if .SEODescription}} +{{.SEODescription}}
{{end}}diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3b186e6..732d959 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -17,7 +17,7 @@ jobs:
go-version: "1.25"
- name: Install hype
- run: go install github.com/gopherguides/hype/cmd/hype@latest
+ run: go install github.com/gopherguides/hype/cmd/hype@main
- name: Build site
run: hype blog build
diff --git a/config.yaml b/config.yaml
index 7981270..57150b0 100644
--- a/config.yaml
+++ b/config.yaml
@@ -14,3 +14,5 @@ seo:
twitterCard: "summary_large_image"
contentDir: "content"
outputDir: "public"
+listPages:
+ - blog
diff --git a/content/blog-index/module.md b/content/blog-index/module.md
deleted file mode 100644
index 5351485..0000000
--- a/content/blog-index/module.md
+++ /dev/null
@@ -1,21 +0,0 @@
-# Blog
-
-
{{$a.SEODescription}}
+ {{if .SEODescription}} +{{.SEODescription}}
{{end}}Tutorials, guides, and updates from the Hype project.
+ + {{if .Articles}} +{{.SEODescription}}
+ {{end}} +