package shared import ( "html" "html/template" "strconv" "code.gitea.io/gitea/modules/setting" ) func ImgIcon(name string, size int) template.HTML { s := strconv.Itoa(size) src := html.EscapeString(setting.StaticURLPrefix + "/assets/img/" + name) return template.HTML(``) }