{{define "head"}} {{- $alt := "The AUR Report Card masthead over pkglint's grade ramp: A for no warnings through F for any critical finding." -}} {{.Title}} {{/* No font preloads: the stylesheet is same-origin and small, every face is font-display:swap, and Chromium reports same-origin font preloads as unused even when they are the only fetch. A false warning on every page costs more here than the millisecond it buys. */}} {{/* Declaring the icon is also how the /favicon.ico request is avoided: without a link the browser asks for one on every page and takes a 404. */}} {{/* Link previews — X, Slack, Discord, iMessage — read Open Graph out of the head and will not resolve a relative URL, so the page and its card image are spelled out against the published origin. twitter:card is the only twitter:* tag that earns its place: X falls back to og:title, og:description and og:image, but has no fallback for the image's alt text, which is the one thing a screen reader on that timeline needs. */}} {{end}} {{define "topbar"}}
pkglintAUR report card
{{end}} {{/* fixpill renders an auto-fix badge for a rules.FixLevel; nothing when the rule has no fix. */}} {{define "fixpill"}}{{if .Fixable}}{{.Flag}}{{end}}{{end}}