aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2023-05-27 15:44:41 +0200
committerBjørn Erik Pedersen <[email protected]>2023-05-27 16:56:54 +0200
commit6c2db0dfb0720c0af6ffabb438e1d2ea8eb909b4 (patch)
tree6656476fb3702f4043d179bc95e9f69796f6c40e /resources
parent8f293a18557806b5370451c13ea8959e85962c9b (diff)
downloadhugo-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.go1
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.