diff options
author | Bryson Steck <brysonsteck@protonmail.com> | 2022-12-27 00:48:42 -0700 |
---|---|---|
committer | Bryson Steck <brysonsteck@protonmail.com> | 2022-12-27 00:48:42 -0700 |
commit | 199f5ca505ca7392b3e770e83c5150a9f897d6d0 (patch) | |
tree | c8a4c1b5576db270b8b73ae848bc0e76e3ad6001 /layouts/projects | |
parent | 4cd9efaf56b61e86782e13a5b15411b679b5c259 (diff) | |
download | website-199f5ca505ca7392b3e770e83c5150a9f897d6d0.tar website-199f5ca505ca7392b3e770e83c5150a9f897d6d0.tar.gz website-199f5ca505ca7392b3e770e83c5150a9f897d6d0.tar.bz2 |
somewhat functional website now
Diffstat (limited to 'layouts/projects')
-rw-r--r-- | layouts/projects/list.html | 21 | ||||
-rw-r--r-- | layouts/projects/single.html | 8 |
2 files changed, 29 insertions, 0 deletions
diff --git a/layouts/projects/list.html b/layouts/projects/list.html new file mode 100644 index 0000000..19c6f48 --- /dev/null +++ b/layouts/projects/list.html @@ -0,0 +1,21 @@ +{{ partial "head.html" . }} +<h2>My Projects</h2> +<hr> +<h4>Currently Maintained</h4> +{{ range .Pages }} +{{ if .Params.current }} +<div class="list p-3 rounded-3"> +<a href="{{.Permalink}}">{{.Title}}</a> +</div> +{{ end }} +{{ end }} +<br> +<h4>Old/Unmaintained</h4> +{{ range .Pages }} +{{ if not .Params.current }} +<div class="list p-3 rounded-3"> +<a href="{{.Permalink}}">{{.Title}}</a> +</div> +{{ end }} +{{ end }} +{{ partial "foot.html" . }} diff --git a/layouts/projects/single.html b/layouts/projects/single.html new file mode 100644 index 0000000..eea6972 --- /dev/null +++ b/layouts/projects/single.html @@ -0,0 +1,8 @@ +{{ partial "head.html" . }} +<h1>{{$.Title}}</h1> +<p>Posted by Bryson Steck on {{.Date.Format "January 2, 2006"}}</p> +<hr> +<div class="project"> +{{.Content}} +</div> +{{ partial "foot.html" . }} |