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/projects.html

24 lines
783 B
HTML
Raw Normal View History

2023-12-06 22:56:56 +03:00
{{ with .Site.GetPage "/projects" }}
<h3>Проекты</h3>
{{ range .Pages }}
<table>
<tbody>
<tr>
2023-12-19 23:36:26 +03:00
<td><strong>{{ with.Params.Link }}<a href="{{ . }}">{{ end }}{{ .Title }}</a></strong><span>|</span>
2023-12-06 22:56:56 +03:00
<em class="subtitle">{{ range $i, $e := .Params.tags -}}{{- if $i -}}, {{ end -}}{{ . }}{{- end -}}</em>
</td>
<td class="align-right">
{{ with .Params.start_date }}
{{ time.Format "Jan 2006" . }}
{{ end }}
{{ with .Params.end_date }}
{{ time.Format "Jan 2006" . }}
{{ else }}{{ "н.в." }}
{{ end }}
</td>
</tr>
</tbody>
</table>
{{ .Content }}
{{ end }}
{{ end }}