mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
hugolib: Fix typo in private func name
This commit is contained in:
parent
47d4edce60
commit
c915d0d325
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue