This repository has been archived on 2024-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
resume/layouts/partials/sections/education.html

26 lines
841 B
HTML
Raw Normal View History

2023-12-06 22:56:56 +03:00
{{ with .Site.GetPage "/education" }}
<h3>Образование</h3>
<table>
<tbody>
{{ range sort (.Pages) "Params.end_date" "desc" }}
<tr>
<td><strong>{{ .Title }}</strong></td>
<td class="align-right">{{ with .Params.location}}{{ . }}{{ end }}</td>
</tr>
<tr class="subtitle">
<td><em>{{ with .Params.degree}}{{ . }}{{ end }}</em>
</td>
<td class="align-right"><em>
{{ with .Params.start_date }}
{{ time.Format "Jan 2006" . }}
{{ end }}
{{ with .Params.end_date }}
{{ time.Format "Jan 2006" . }}
{{ else }}{{ "н.в." }}
{{ end }}</em>
</td>
</tr>
{{ end }}
</tbody>
</table>
{{ end }}