feat: Show all content on home page
This commit is contained in:
parent
062b9e069a
commit
a9bd2c2c40
2 changed files with 21 additions and 1 deletions
|
@ -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:
|
||||||
|
|
21
layouts/_default/index.html
Normal file
21
layouts/_default/index.html
Normal 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 }}
|
Loading…
Reference in a new issue