diff options
Diffstat (limited to 'layouts/projects/list.html')
-rw-r--r-- | layouts/projects/list.html | 8 |
1 files changed, 7 insertions, 1 deletions
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 @@ <h2>My Projects</h2> <hr> <h4>Currently Maintained</h4> -{{ range .Pages }} +{{ 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> +<span>Started {{ .Date.Format "January 2, 2006" }}</span> </div> {{ end }} {{ end }} @@ -14,7 +17,10 @@ {{ 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> +<span>From {{ .Date.Format "January 2, 2006" }} to {{ .Params.enddate }}</span> </div> {{ end }} {{ end }} |