1
0
hugos-resume/layouts/partials/body/experience.html

21 lines
725 B
HTML
Raw Normal View History

2023-11-29 23:58:56 +03:00
{{ with .Site.GetPage "/experience"}}
2023-11-23 23:23:26 +03:00
<h3>Experience</h3>
2023-11-29 23:58:56 +03:00
{{ range sort (.Pages) "Params.start_date" "desc" }}
2023-11-23 23:23:26 +03:00
<table>
<tbody>
<tr>
2023-11-29 23:58:56 +03:00
<td><strong>{{ .Title }}</strong></td>
<td style="text-align: right;">
{{ with .Params.start_date }}{{ time.Format "Jan 2006" . }}{{ end }}
{{ with .Params.end_date }}{{ time.Format "Jan 2006" . }}{{ else }}{{ "Present" }}{{ end }}
2023-11-23 23:23:26 +03:00
</td>
</tr>
<tr>
2023-11-29 23:58:56 +03:00
<td><em>{{with .Params.workplace}}{{ . }}{{ end }}</em></td>
<td style="text-align: right;"><em>{{ with .Params.location}}{{ . }}{{ end }}</em></td>
2023-11-23 23:23:26 +03:00
</tr>
</tbody>
</table>
2023-11-29 23:58:56 +03:00
{{ .Content }}
{{ end }}
{{ end }}