summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-08-16 19:46:06 +0200
committerMartin Fischer <martin@push-f.com>2025-08-16 20:52:57 +0200
commitbd063c30e3a0160efe187d4a766e105157ba12fd (patch)
tree6e57d7593b51e85d136bc667dca86e632f848ad7 /layouts/_default
parent3cada41922abb83b5a5541e4b5efd3fc1659c483 (diff)
change: make home template embed content/home.md
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/home.html16
1 files changed, 1 insertions, 15 deletions
diff --git a/layouts/_default/home.html b/layouts/_default/home.html
index e58a520..e7c9058 100644
--- a/layouts/_default/home.html
+++ b/layouts/_default/home.html
@@ -2,21 +2,7 @@
{{ .Content }}
-{{/* Intro summary section */}}
-
-{{ if or .Site.Params.homeIntroTitle .Site.Params.homeIntroContent }}
-<div class="intro">
- {{ with .Site.Params.homeIntroTitle }}
- <h1>{{ . }}</h1>
- {{ end }}
-
- {{ with .Site.Params.homeIntroContent }}
- <p>{{ . | markdownify }}</p>
- {{ end }}
-</div>
-{{ end }}
-
-{{/* Collection Section */}}
+{{ readFile "content/home.md" | markdownify }}
{{ if .Site.Params.homeCollection }}