projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47d4edc
)
hugolib: Fix typo in private func name
author
Cameron Moore
<moorereason@gmail.com>
Tue, 28 Aug 2018 20:43:42 +0000
(15:43 -0500)
committer
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Thu, 30 Aug 2018 20:31:29 +0000
(22:31 +0200)
hugolib/paths/themes.go
patch
|
blob
|
history
diff --git
a/hugolib/paths/themes.go
b/hugolib/paths/themes.go
index abe6121aeb89b614e9c257a4ffc1eccf5fa74dae..c6dae5e628463a6bdf83d50efd78d93efb145cab 100644
(file)
--- 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.addT
h
emeNamesFromTheme(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) addT
h
emeNamesFromTheme(theme ThemeConfig) error {
if theme.Cfg != nil && theme.Cfg.IsSet("theme") {
v := theme.Cfg.Get("theme")
switch vv := v.(type) {