Switch to Bulma.

This commit is contained in:
mikestefanello 2021-12-03 08:49:07 -05:00
parent 3c2c698269
commit 869fa82f14
6 changed files with 41 additions and 39 deletions

View file

@ -50,7 +50,7 @@ func File(filepath string) string {
func Link(url, text, currentPath string, classes ...string) template.HTML {
if currentPath == url {
classes = append(classes, "active")
classes = append(classes, "is-active")
}
html := fmt.Sprintf(`<a class="%s" href="%s">%s</a>`, strings.Join(classes, " "), url, text)