scim-docs/themes/Indiiie/layouts/shortcodes/implementation.html

26 lines
776 B
HTML
Raw Normal View History

2024-08-29 21:46:48 +00:00
<div class="space-between card flex implementation {{ if .Get "type"}}{{ .Get "type" }}{{ end }}" data-type="{{ if .Get "type"}}{{ .Get "type" }}{{ end }}">
<div class="flex">
2024-08-29 10:10:19 +00:00
{{ .Inner | markdownify }}
{{ if .Get "type" }}
<p>
{{ $types := split (.Get "type") " " }}
{{ range $types }}
2024-09-17 21:14:22 +00:00
<span class="type {{ . }} marked-color">{{ . }}</span>
2024-08-29 10:10:19 +00:00
{{ end }}
</p>
{{ end }}
{{ if .Get "devs" }}
2024-10-28 15:39:47 +00:00
<p class="devs">Main devs: {{ .Get "devs" }}</p>
2024-08-29 10:10:19 +00:00
{{ end }}
2024-08-29 21:46:48 +00:00
</div>
<div class="flex">
2024-08-29 10:10:19 +00:00
{{ if .Get "link" }}
<a class="btn lv1" target="_blank" href="{{ .Get "link" }}">specs ↗</a>
2024-09-17 21:14:22 +00:00
{{ else }}
<p class="btn draft marked-color"><em>à venir...</em></p>
2024-08-29 10:10:19 +00:00
{{ end }}
2024-08-29 21:46:48 +00:00
</div>
2024-08-29 10:10:19 +00:00
</div>