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

20 lines
520 B
HTML
Raw Normal View History

2024-08-29 10:10:19 +00:00
<div class="card flex implementation" data-type="{{ .Get "type" }}">
{{ .Inner | markdownify }}
{{ if .Get "type" }}
<p>
{{ $types := split (.Get "type") " " }}
{{ range $types }}
<span class="type {{ . }}">{{ . }}</span>
{{ end }}
</p>
{{ end }}
{{ if .Get "devs" }}
<p class="devs">Devs: {{ .Get "devs" }}</p>
{{ end }}
{{ if .Get "link" }}
<a class="btn lv1" target="_blank" href="{{ .Get "link" }}">specs ↗</a>
{{ end }}
</div>