hugolib: Fix typo in private func name
authorCameron Moore <moorereason@gmail.com>
Tue, 28 Aug 2018 20:43:42 +0000 (15:43 -0500)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 30 Aug 2018 20:31:29 +0000 (22:31 +0200)
hugolib/paths/themes.go

index abe6121aeb89b614e9c257a4ffc1eccf5fa74dae..c6dae5e628463a6bdf83d50efd78d93efb145cab 100644 (file)
@@ -60,7 +60,7 @@ func (c *themesCollector) addAndRecurse(themes ...string) error {
                        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) getConfigFileIfProvided(theme string) string {
 
 }
 
-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) {