mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 04:34:40 -04:00
hugolib: Fix typo in private func name
This commit is contained in:
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user