package site
import "html/template"
// Paths are selected from Primer Octicons 19.31.0, distributed under the MIT
// license. See THIRD_PARTY_NOTICES.md.
var octiconPaths = map[string]string{
"repo": ``,
"code": ``,
"history": ``,
"branch": ``,
"chevron": ``,
"download": ``,
"copy": ``,
"file": ``,
"folder": ``,
"back": ``,
"book": ``,
"link": ``,
"people": ``,
"external": ``,
"check": ``,
"fork": ``,
"search": ``,
"close": ``,
}
func icon(name string) template.HTML {
path, ok := octiconPaths[name]
if !ok {
return ""
}
// #nosec G203 -- names and SVG paths come only from the static map above.
return template.HTML(``)
}