diff options
author | Bjørn Erik Pedersen <[email protected]> | 2023-05-27 15:44:41 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-05-27 16:56:54 +0200 |
commit | 6c2db0dfb0720c0af6ffabb438e1d2ea8eb909b4 (patch) | |
tree | 6656476fb3702f4043d179bc95e9f69796f6c40e /resources | |
parent | 8f293a18557806b5370451c13ea8959e85962c9b (diff) | |
download | hugo-6c2db0dfb0720c0af6ffabb438e1d2ea8eb909b4.tar.gz hugo-6c2db0dfb0720c0af6ffabb438e1d2ea8eb909b4.zip |
Add language.LanguageCode
But keep an alias at Site
Closes #11027
Diffstat (limited to 'resources')
-rw-r--r-- | resources/page/site.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/page/site.go b/resources/page/site.go index da97dfe6e..ccc36a4ee 100644 --- a/resources/page/site.go +++ b/resources/page/site.go @@ -65,6 +65,7 @@ type Site interface { Title() string // Returns the configured language code for this Site. + // Deprecated: Use .Language.LanguageCode instead. LanguageCode() string // Returns the configured copyright information for this Site. |