diff options
author | Martin Fischer <martin@push-f.com> | 2025-08-16 19:46:06 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-08-16 20:52:57 +0200 |
commit | bd063c30e3a0160efe187d4a766e105157ba12fd (patch) | |
tree | 6e57d7593b51e85d136bc667dca86e632f848ad7 /layouts/_default/home.html | |
parent | 3cada41922abb83b5a5541e4b5efd3fc1659c483 (diff) |
change: make home template embed content/home.md
Diffstat (limited to 'layouts/_default/home.html')
-rw-r--r-- | layouts/_default/home.html | 16 |
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 }} |