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

21 lines
741 B
HTML
Raw Normal View History

2023-11-30 00:06:46 +03:00
{{ with .Site.GetPage "/education" }}
2023-11-23 23:23:26 +03:00
<h3>Education</h3>
2023-11-29 23:31:30 +03:00
<table>
<tbody>
2023-11-30 00:06:46 +03:00
{{ range sort (.Pages) "Params.end_date" "desc" }}
2023-11-29 23:31:30 +03:00
<tr>
2023-11-30 00:06:46 +03:00
<td><strong>{{ .Title }}</strong></td>
<td style="text-align: right;">{{ with .Params.location}}{{ . }}{{ end }}</td>
2023-11-29 23:31:30 +03:00
</tr>
<tr>
2023-11-30 00:06:46 +03:00
<td><em>{{ with .Params.degree}}{{ . }}{{ end }}</em>
</td>
<td style="text-align: right;"><em>
{{ with .Params.start_date }}{{ time.Format "Jan 2006" . }}{{ end }}
{{ with .Params.end_date }}{{ time.Format "Jan 2006" . }}{{ else }}{{ "Present" }}{{ end }}</em>
2023-11-29 23:31:30 +03:00
</td>
</tr>
2023-11-30 00:06:46 +03:00
{{ end }}
2023-11-29 23:31:30 +03:00
</tbody>
2023-11-30 00:06:46 +03:00
</table>
{{ end }}