Files
w3cjandClaude Opus 5.5 56e0d03969 docs(site): pixel icons in the home page cards' titles
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]>
2026-10-30 16:24:51 -07:00

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>