From a9bd2c2c40b474134e066acf2a3c6d82e69d02b9 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Thu, 9 Jan 2025 16:42:08 -0600 Subject: [PATCH] feat: Show all content on home page --- content/_index.md | 1 - layouts/_default/index.html | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 layouts/_default/index.html diff --git a/content/_index.md b/content/_index.md index 5466a55..83146c7 100644 --- a/content/_index.md +++ b/content/_index.md @@ -4,7 +4,6 @@ cardImage: charolette cardImageDescription: She almost looks like she's in her native country again. motto: My name is Thomas ChristensenI am Milliron X description: The homepage of Thomas A. Christensen II -layout: _default/list menu: main: params: diff --git a/layouts/_default/index.html b/layouts/_default/index.html new file mode 100644 index 0000000..8ebdafd --- /dev/null +++ b/layouts/_default/index.html @@ -0,0 +1,21 @@ +{{ define "extraCss" }} + {{ $scrollCss := resources.Get "styles/scrolling-header.css" | minify }} + +{{ end }} + +{{ define "main" }} + {{ partial "scrolling-image-header" . }} + + + {{ block "content" . }} + {{ .Content }} + {{ end }} + + + Recent activity + {{ $pageinator := .Paginate .Site.RegularPages }} + {{ range $pageinator.Pages }} + {{ partial "itemcard.html" . }} + {{ end }} + +{{ end }}