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

34 lines
1.1 KiB
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-12-02 23:45:18 +03:00
{{ range .Pages }}
2023-11-23 23:23:26 +03:00
<table>
<tbody>
<tr>
2023-11-29 23:58:56 +03:00
<td><strong>{{ .Title }}</strong></td>
2023-12-02 23:21:28 +03:00
<td class="align-right">
2023-12-03 23:00:02 +03:00
{{ 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 }}
2023-11-23 23:23:26 +03:00
</td>
</tr>
2023-12-05 00:02:24 +03:00
<tr class="subtitle">
2023-11-29 23:58:56 +03:00
<td><em>{{with .Params.workplace}}{{ . }}{{ end }}</em></td>
2023-12-02 23:21:28 +03:00
<td class="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 }}