classic

package
v1.2.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2026 License: MIT Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

View Source
const Name = "classic"

Name is the canonical template name used by callers (CLI --template, engine.Request.Template, registry key).

Variables

View Source
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.

Directories

Path Synopsis
Package partials hosts the partial functions assembled by the classic template.
Package partials hosts the partial functions assembled by the classic template.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL