1
0
hugos-resume/layouts/partials/sections/experience.html
2023-12-05 00:02:24 +03:00

34 lines
1.1 KiB
HTML
Raw Permalink 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 .Pages }}
<table>
<tbody>
<tr>
<td><strong>{{ .Title }}</strong></td>
<td class="align-right">
{{ with .Params.start_date }}
{{ if le ( len (time.Format "January" .)) 4}}
{{ time.Format "January 2006" . }}
{{ else }}
{{ time.Format "Jan. 2006" . }}
{{ end }}
{{ end }}
{{ with .Params.end_date }}
{{ if le ( len (time.Format "January" .)) 4}}
{{ time.Format "January 2006" . }}
{{ else }}
{{ time.Format "Jan. 2006" . }}
{{ end }}
{{ else }}{{ "Present" }}
{{ end }}
</td>
</tr>
<tr class="subtitle">
<td><em>{{with .Params.workplace}}{{ . }}{{ end }}</em></td>
<td class="align-right"><em>{{ with .Params.location}}{{ . }}{{ end }}</em></td>
</tr>
</tbody>
</table>
{{ .Content }}
{{ end }}
{{ end }}