* language related deprecation fix
Reference: https://github.com/gohugoio/hugo/releases/tag/v0.158.0
.Site.LanguageCode -> .Site.Language.Locale
.Language.LanguageDirection -> .Language.Direction
.Language.LanguageCode -> .Language.Locale
Also, in the configuration hugo.toml, the user should change `languageCode` to `locale`.
* Update languageCode to locale in configuration
* fix(languages): update languageName to label in languages.toml
* .Language.LanguageName -> .Language.Label
* .Language.Lang -> .Language.Name
---------
Co-authored-by: Jimmy Cai <jimmy@cai.im>
* feat: use images.AutoOrient in `helper/image`
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/1292
* fix: check if IsImageResourceProcessable before using filter
* remove local field
* feat: add configurable image auto-orientation via a new `autoOrient` parameter in site configuration