1
0
hugos-resume/layouts/partials/sections/projects.html

19 lines
647 B
HTML
Raw Normal View History

2023-11-28 23:10:01 +03:00
{{ with .Site.GetPage "/projects" }}
2023-11-23 22:27:56 +03:00
<h3>Projects</h3>
2023-11-29 23:58:32 +03:00
{{ range sort (.Pages) "Params.start_date" "desc" }}
2023-11-23 22:27:56 +03:00
<table>
<tbody>
<tr>
2023-11-28 23:10:01 +03:00
<td><strong>{{ .Title }} </strong><span>|</span>
<em>{{ range $i, $e := .Params.tags -}}{{- if $i -}}, {{ end -}}{{ . }}{{- end -}}</em>
2023-11-23 22:27:56 +03:00
</td>
2023-12-02 23:21:28 +03:00
<td class="align-right">
2023-11-28 23:52:43 +03:00
{{ with .Params.start_date }}{{ time.Format "Jan 2006" . }}{{ end }}
{{ with .Params.end_date }}{{ time.Format "Jan 2006" . }}{{ else }}{{ "Present" }}{{ end }}
</td>
2023-11-23 22:27:56 +03:00
</tr>
</tbody>
</table>
2023-11-28 23:10:01 +03:00
{{ .Content }}
{{ end }}
{{ end }}