mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
hugolib: Fix typo in private func name
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
47d4edce60
commit
c915d0d325
@@ -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) {
|
||||
|
Reference in New Issue
Block a user