feat: Show all content on home page

This commit is contained in:
Thomas A. Christensen II 2025-01-09 16:42:08 -06:00
parent 062b9e069a
commit a9bd2c2c40
Signed by: millironx
GPG key ID: 19A2EF3A3C0C18A9
2 changed files with 21 additions and 1 deletions

View file

@ -4,7 +4,6 @@ cardImage: charolette
cardImageDescription: She almost looks like she's in her native country again. cardImageDescription: She almost looks like she's in her native country again.
motto: <small>My name is Thomas Christensen</small><br />I am Milliron X motto: <small>My name is Thomas Christensen</small><br />I am Milliron X
description: The homepage of Thomas A. Christensen II description: The homepage of Thomas A. Christensen II
layout: _default/list
menu: menu:
main: main:
params: params:

View file

@ -0,0 +1,21 @@
{{ define "extraCss" }}
{{ $scrollCss := resources.Get "styles/scrolling-header.css" | minify }}
<link href="{{ $scrollCss.RelPermalink }}" rel="stylesheet" />
{{ end }}
{{ define "main" }}
{{ partial "scrolling-image-header" . }}
<section>
<div>
{{ block "content" . }}
{{ .Content }}
{{ end }}
</div>
<h2>Recent activity</h2>
{{ $pageinator := .Paginate .Site.RegularPages }}
{{ range $pageinator.Pages }}
{{ partial "itemcard.html" . }}
{{ end }}
</section>
{{ end }}