From 7323b01e42d573c12818f48e4b00ed8ff7736565 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Tue, 27 Dec 2022 19:59:35 -0700 Subject: added contact page, blog list, redid homepage --- layouts/index.html | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'layouts/index.html') diff --git a/layouts/index.html b/layouts/index.html index 4559344..478f8e9 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,10 +1,22 @@ {{ partial "head.html" . }} -{{ range (where (where .Site.RegularPages "Section" "blog") "Params.nohtml" "!=" "true") }} -{{- if .OutputFormats.Get "html" }} +

My Newest Project

+
+{{ range first 1 (where (where .Site.RegularPages "Section" "projects") "Params.nohtml" "!=" "true") }}
+ {{.Title}} -
{{.Date.Format "January 2, 2006"}}
+

{{ .Params.description }}

+Started {{ .Date.Format "January 2, 2006" }}
+
{{ end }} +

Recent Blog Posts

+
+{{ range first 4 (where (where .Site.RegularPages "Section" "blog") "Params.nohtml" "!=" "true") }} +
+{{.Title}} +
{{.Date.Format "January 2, 2006"}}
+
{{ end }} +View all posts -> {{ partial "foot.html" . }} -- cgit v1.2.3