Documentation
¶
Overview ¶
Package classic implements the M2 "classic" template — the default upstream GitHub-visual-identity SVG layout.
classic.go is the templates.Template implementation. Partial functions live in classic/partials/, where text rendering helpers (EscapeXML, FormatCount) are also colocated so this package and the partials package compose without an import cycle.
Index ¶
Constants ¶
const Name = "classic"
Name is the canonical template name used by callers (CLI --template, engine.Request.Template, registry key).
Variables ¶
var Template templates.Template = &classicTemplate{}
Template is the singleton exposed for tests / direct callers. The init() below also registers it through the templates.Register registry so engine.Compute can resolve it by name.
Functions ¶
This section is empty.
Types ¶
This section is empty.