19 lines
647 B
HTML
19 lines
647 B
HTML
{{ with .Site.GetPage "/projects" }}
|
||
<h3>Projects</h3>
|
||
{{ range sort (.Pages) "Params.start_date" "desc" }}
|
||
<table>
|
||
<tbody>
|
||
<tr>
|
||
<td><strong>{{ .Title }} </strong><span>|</span>
|
||
<em>{{ range $i, $e := .Params.tags -}}{{- if $i -}}, {{ end -}}{{ . }}{{- end -}}</em>
|
||
</td>
|
||
<td class="align-right">
|
||
{{ with .Params.start_date }}{{ time.Format "Jan 2006" . }}{{ end }} –
|
||
{{ with .Params.end_date }}{{ time.Format "Jan 2006" . }}{{ else }}{{ "Present" }}{{ end }}
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
{{ .Content }}
|
||
{{ end }}
|
||
{{ end }} |