1
mirror of https://gitlab.com/commento/commento.git synced 2025-06-29 22:56:37 -04:00

fonts: add source sans fonts

This commit is contained in:
Adhityaa Chandrasekar
2019-02-18 17:33:11 -05:00
parent c9677385f8
commit 5df5b5f112
18 changed files with 126 additions and 4 deletions

View File

@ -75,7 +75,7 @@ func staticRouterInit(router *mux.Router) error {
return err
}
for _, dir := range []string{"/js", "/css", "/images"} {
for _, dir := range []string{"/js", "/css", "/images", "/fonts"} {
files, err := ioutil.ReadDir(os.Getenv("STATIC") + dir)
if err != nil {
logger.Errorf("cannot read directory %s%s: %v", os.Getenv("STATIC"), dir, err)