mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
config: Remove unused var
This commit is contained in:
parent
02b120d1bd
commit
3d4e99ed50
1 changed files with 0 additions and 10 deletions
|
@ -17,16 +17,6 @@
|
|||
// string operations on content.
|
||||
package config
|
||||
|
||||
// A cached version of the current ConfigProvider (language) and relatives. These globals
|
||||
// are unfortunate, but we still have some places that needs this that does
|
||||
// not have access to the site configuration.
|
||||
// These values will be set on initialization when rendering a new language.
|
||||
//
|
||||
// TODO(bep) Get rid of these.
|
||||
var (
|
||||
currentConfigProvider Provider
|
||||
)
|
||||
|
||||
// Provider provides the configuration settings for Hugo.
|
||||
type Provider interface {
|
||||
GetString(key string) string
|
||||
|
|
Loading…
Reference in a new issue