aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/allconfig/configlanguage.go4
-rw-r--r--config/configProvider.go1
2 files changed, 5 insertions, 0 deletions
diff --git a/config/allconfig/configlanguage.go b/config/allconfig/configlanguage.go
index 27ba00d82..2c5a116f4 100644
--- a/config/allconfig/configlanguage.go
+++ b/config/allconfig/configlanguage.go
@@ -228,3 +228,7 @@ func (c ConfigLanguage) PaginatePath() string {
func (c ConfigLanguage) StaticDirs() []string {
return c.config.staticDirs()
}
+
+func (c ConfigLanguage) EnableEmoji() bool {
+ return c.config.EnableEmoji
+}
diff --git a/config/configProvider.go b/config/configProvider.go
index 946830056..8e2ab0334 100644
--- a/config/configProvider.go
+++ b/config/configProvider.go
@@ -66,6 +66,7 @@ type AllProvider interface {
StaticDirs() []string
IgnoredErrors() map[string]bool
WorkingDir() string
+ EnableEmoji() bool
}
// Provider provides the configuration settings for Hugo.