diff options
Diffstat (limited to 'hugolib/site.go')
-rw-r--r-- | hugolib/site.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hugolib/site.go b/hugolib/site.go index 2ffc3a346..0ca7a81b4 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -778,6 +778,10 @@ func (s *SiteInfo) DisqusShortname() string { return s.Config().Services.Disqus.Shortname } +func (s *SiteInfo) GetIdentity() identity.Identity { + return identity.KeyValueIdentity{Key: "site", Value: s.language.Lang} +} + // SiteSocial is a place to put social details on a site level. These are the // standard keys that themes will expect to have available, but can be // expanded to any others on a per site basis |