summaryrefslogtreecommitdiffhomepage
path: root/hugolib
diff options
context:
space:
mode:
authorCameron Moore <[email protected]>2018-08-28 15:43:42 -0500
committerBjørn Erik Pedersen <[email protected]>2018-08-30 22:31:29 +0200
commitc915d0d3252007d61b680a388dcbe6b035d0adc8 (patch)
tree9cb5de21ac3eda3d484e97a7cf06853afc947813 /hugolib
parent47d4edce6083bab1c190dad99fefb7c73afc6af8 (diff)
downloadhugo-c915d0d3252007d61b680a388dcbe6b035d0adc8.tar.gz
hugo-c915d0d3252007d61b680a388dcbe6b035d0adc8.zip
hugolib: Fix typo in private func name
Diffstat (limited to 'hugolib')
-rw-r--r--hugolib/paths/themes.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/paths/themes.go b/hugolib/paths/themes.go
index abe6121ae..c6dae5e62 100644
--- a/hugolib/paths/themes.go
+++ b/hugolib/paths/themes.go
@@ -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) {