From bd063c30e3a0160efe187d4a766e105157ba12fd Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 16 Aug 2025 19:46:06 +0200 Subject: change: make home template embed content/home.md --- layouts/_default/home.html | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'layouts/_default') 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 }} -
- {{ with .Site.Params.homeIntroTitle }} -

{{ . }}

- {{ end }} - - {{ with .Site.Params.homeIntroContent }} -

{{ . | markdownify }}

- {{ end }} -
-{{ end }} - -{{/* Collection Section */}} +{{ readFile "content/home.md" | markdownify }} {{ if .Site.Params.homeCollection }} -- cgit v1.2.3