mirror of
https://github.com/gohugoio/hugo.git
synced 2024-07-04 16:21:57 +00:00
config: Remove unused var
This commit is contained in:
parent
02b120d1bd
commit
3d4e99ed50
|
@ -17,16 +17,6 @@
|
||||||
// string operations on content.
|
// string operations on content.
|
||||||
package config
|
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.
|
// Provider provides the configuration settings for Hugo.
|
||||||
type Provider interface {
|
type Provider interface {
|
||||||
GetString(key string) string
|
GetString(key string) string
|
||||||
|
|
Loading…
Reference in a new issue