shithub: hugo

Download patch

ref: c915d0d3252007d61b680a388dcbe6b035d0adc8
parent: 47d4edce6083bab1c190dad99fefb7c73afc6af8
author: Cameron Moore <[email protected]>
date: Tue Aug 28 11:43:42 EDT 2018

hugolib: Fix typo in private func name

--- a/hugolib/paths/themes.go
+++ b/hugolib/paths/themes.go
@@ -60,7 +60,7 @@
 			if err != nil {
 				return err
 			}
-			if err := c.addTemeNamesFromTheme(tc); err != nil {
+			if err := c.addThemeNamesFromTheme(tc); err != nil {
 				return err
 			}
 		}
@@ -145,7 +145,7 @@
 
 }
 
-func (c *themesCollector) addTemeNamesFromTheme(theme ThemeConfig) error {
+func (c *themesCollector) addThemeNamesFromTheme(theme ThemeConfig) error {
 	if theme.Cfg != nil && theme.Cfg.IsSet("theme") {
 		v := theme.Cfg.Get("theme")
 		switch vv := v.(type) {