From 0b6c6241b7b53a5fa99e49e5b9723c5dd8e423c8 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Tue, 27 Dec 2022 11:09:08 -0700 Subject: create projects list and add more projects --- layouts/projects/list.html | 8 +++++++- layouts/projects/single.html | 14 +++++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) (limited to 'layouts') diff --git a/layouts/projects/list.html b/layouts/projects/list.html index 19c6f48..96aef8b 100644 --- a/layouts/projects/list.html +++ b/layouts/projects/list.html @@ -2,10 +2,13 @@

My Projects


Currently Maintained

-{{ range .Pages }} +{{ range .Data.Pages.ByTitle }} {{ if .Params.current }}
+ {{.Title}} +

{{ .Params.description }}

+Started {{ .Date.Format "January 2, 2006" }}
{{ end }} {{ end }} @@ -14,7 +17,10 @@ {{ range .Pages }} {{ if not .Params.current }}
+ {{.Title}} +

{{ .Params.description }}

+From {{ .Date.Format "January 2, 2006" }} to {{ .Params.enddate }}
{{ end }} {{ end }} diff --git a/layouts/projects/single.html b/layouts/projects/single.html index eea6972..fc01e34 100644 --- a/layouts/projects/single.html +++ b/layouts/projects/single.html @@ -1,6 +1,18 @@ {{ partial "head.html" . }} +

{{$.Title}}

-

Posted by Bryson Steck on {{.Date.Format "January 2, 2006"}}

+
{{ .Description }}
+{{ if .Params.wip }} +WORK IN PROGRESS
+{{ end }} +Repository
+{{ if .Params.current }} +Started on {{ .Date.Format "January 2, 2006" }}
+{{ else }} +Started on {{ .Date.Format "January 2, 2006" }} and ended on {{ .Params.enddate }}
+{{ end }} +Built with {{ .Params.languages }}
+Free and Open Source under the {{ .Params.license }}

{{.Content}} -- cgit v1.2.3