scim-docs/themes/Indiiie/layouts/shortcodes/implementation.html
timothe.jeanne 0bece1953a
All checks were successful
/ build (push) Successful in 23s
/ deploy (push) Successful in 4s
minor implementations updates
2024-10-28 16:39:47 +01:00

26 lines
No EOL
776 B
HTML

<div class="space-between card flex implementation {{ if .Get "type"}}{{ .Get "type" }}{{ end }}" data-type="{{ if .Get "type"}}{{ .Get "type" }}{{ end }}">
<div class="flex">
{{ .Inner | markdownify }}
{{ if .Get "type" }}
<p>
{{ $types := split (.Get "type") " " }}
{{ range $types }}
<span class="type {{ . }} marked-color">{{ . }}</span>
{{ end }}
</p>
{{ end }}
{{ if .Get "devs" }}
<p class="devs">Main devs: {{ .Get "devs" }}</p>
{{ end }}
</div>
<div class="flex">
{{ if .Get "link" }}
<a class="btn lv1" target="_blank" href="{{ .Get "link" }}">specs ↗</a>
{{ else }}
<p class="btn draft marked-color"><em>à venir...</em></p>
{{ end }}
</div>
</div>