aboutsummaryrefslogtreecommitdiff
path: root/layouts/projects/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/projects/list.html')
-rw-r--r--layouts/projects/list.html17
1 files changed, 3 insertions, 14 deletions
diff --git a/layouts/projects/list.html b/layouts/projects/list.html
index 96aef8b..8e5ce3a 100644
--- a/layouts/projects/list.html
+++ b/layouts/projects/list.html
@@ -1,27 +1,16 @@
{{ partial "head.html" . }}
<h2>My Projects</h2>
<hr>
-<h4>Currently Maintained</h4>
{{ range .Data.Pages.ByTitle }}
-{{ if .Params.current }}
<div class="list p-3 rounded-3">
<img src="/{{ .Params.icon }}">
<a href="{{.Permalink}}">{{.Title}}</a>
<p>{{ .Params.description }}</p>
+{{ if .Params.current }}
<span>Started {{ .Date.Format "January 2, 2006" }}</span>
-</div>
-{{ end }}
-{{ end }}
-<br>
-<h4>Old/Unmaintained</h4>
-{{ range .Pages }}
-{{ if not .Params.current }}
-<div class="list p-3 rounded-3">
-<img src="/{{ .Params.icon }}">
-<a href="{{.Permalink}}">{{.Title}}</a>
-<p>{{ .Params.description }}</p>
+{{ else }}
<span>From {{ .Date.Format "January 2, 2006" }} to {{ .Params.enddate }}</span>
-</div>
{{ end }}
+</div>
{{ end }}
{{ partial "foot.html" . }}