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

21 lines
725 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{{ with .Site.GetPage "/experience"}}
<h3>Experience</h3>
{{ range sort (.Pages) "Params.start_date" "desc" }}
<table>
<tbody>
<tr>
<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 }}
</td>
</tr>
<tr>
<td><em>{{with .Params.workplace}}{{ . }}{{ end }}</em></td>
<td style="text-align: right;"><em>{{ with .Params.location}}{{ . }}{{ end }}</em></td>
</tr>
</tbody>
</table>
{{ .Content }}
{{ end }}
{{ end }}