website_rasmus/themes/datacoop2020/layouts/services/list.html

26 lines
429 B
HTML

{{- define "main" -}}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ $pages := .Pages }}
<dl class="dl-services">
{{ range $pages.ByTitle }}
<dt><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h2></dt>
<dd>
{{ $summary := index (split .Content "</p>") 0 }}
{{ $summary | plainify }}
</dd>
{{ end }}
</dl>
{{ partial "badges.html" . }}
{{ partial "status.html" . }}
{{- end -}}