mirror of
https://github.com/devvmhq/devvm.git
synced 2026-12-01 16:27:33 -10:00
The feature shortcode takes an icon, drawn before the title in the title's own color at 24px. Toolchains gets code, Coding agents and Made for coding agents robot, Backends cube, Developer ready prompt, Ready in seconds the new high-voltage icon (Dinkie 0.4.6), Isolated sandbox locked and Make it yours wrench. Co-Authored-By: Claude Opus 5.5 <[email protected]>
17 lines
773 B
HTML
17 lines
773 B
HTML
{{- /* One feature card's HTML, for the feature shortcode: a heading, with a pixel icon from assets/icons/
|
|
before its text if given, its rendered Markdown, then art from assets/home/ if given. Takes title, icon,
|
|
level ("3" for an h3), body, art and position. The heading's id comes from its title alone. */ -}}
|
|
{{- $icon := "" -}}
|
|
{{- with .icon }}{{ $icon = partial "icon.html" (dict "name" . "position" $.position) }}{{ end -}}
|
|
<section class="devvm-feature">
|
|
{{- if eq .level "3" }}
|
|
<h3 id="{{ .title | anchorize }}">{{ $icon }}{{ .title }}</h3>
|
|
{{- else }}
|
|
<h2 id="{{ .title | anchorize }}">{{ $icon }}{{ .title }}</h2>
|
|
{{- end }}
|
|
{{ .body }}
|
|
{{- with .art }}
|
|
{{ partial "art.html" (dict "name" . "position" $.position) }}
|
|
{{- end }}
|
|
</section>
|