24 lines
731 B
HTML
24 lines
731 B
HTML
|
{{ with .Site.GetPage "/projects" }}
|
|||
|
<h3>Проекты</h3>
|
|||
|
{{ range .Pages }}
|
|||
|
<table>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><strong>{{ .Title }} </strong><span>|</span>
|
|||
|
<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 }}
|