diff options
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" . }} |