dc-website/themes/datacoop2020/layouts/services/list.html

69 lines
2 KiB
HTML

{{- define "main" -}}
<h1>{{ .Title }}</h1>
{{ $pages := .Pages }}
{{ range $pages.ByPublishDate.Reverse }}
<p>
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
{{ $customDateFormat := "January 2, 2006" }}
{{ with .Site.Params.customDateFormat }}{{ $customDateFormat = . }}{{ end }}
<br>
<small class="text-secondary">{{ .PublishDate.Format $customDateFormat }}</small>
{{ partial "tags" . }}
{{ if eq .Site.Params.showPostSummary true }}
<br>
{{ .Summary }}
{{ end }}
</p>
<h4>Badges</h4>
<ul class="badges">
<li>
<span class="badge badge-negative badge-stable">Negativ:</span>
<a href="/badges/#stabilitet">
Tjenesten er <em>ikke</em> stabil endnu
</a>
</li>
<li>
<span class="badge badge-positive badge-secure-connection">Positiv:</span>
<a href="/badges/#sikker-forbindelse">
Sikker forbindelse
</a>
</li>
<li>
<span class="badge badge-negative badge-encrypted-data-storage">Negativ:</span>
<a href="/badges/#krypteret-opbevaring-af-data">
Data opbevares <em>ikke</em> krypteret
</a>
</li>
<li>
<span class="badge badge-negative badge-zero-knowledge">Negativ:</span>
<a href="/badges/#zero-knowledge">
<em>Ikke</em> omfattet af zero knowledge
</a>
</li>
<li>
<span class="badge badge-negative badge-backup">Negativ:</span>
<a href="/badges/#backup">
<em>Ingen</em> backup af data
</a>
</li>
<li>
<span class="badge badge-negative badge-logging">Negativ:</span>
<a href="/badges/#logning">
Der foretages logning
</a>
</li>
<li>
<span class="badge badge-partial badge-anonymous-access">Delvis:</span>
<a href="/badges/#anonym-adgang">
Delvis anonym adgang
</a>[1]
</li>
</ul>
<hr>
{{ end }}
{{- end -}}