Fix #711: change .Site.LanguageCode to .Site.Language.Locale - #712
Fix #711: change .Site.LanguageCode to .Site.Language.Locale#712kreczko wants to merge 3 commits into
Conversation
❌ Deploy Preview for scientific-python-hugo-theme failed.Built without sensitive environment variables
|
|
Note: Current deploy uses hugo 0.152, while the requirement for this change is at least 0.158 (latest is 0.164) |
|
Thanks @kreczko! Could you please bump the Hugo version to Hugo 0.158.0? |
|
Hmm, looks like there are more errors... |
Yes, the next blocker is actually kaushalmodi/hugo-atom-feed#22 |
|
Right, https://github.com/kaushalmodi/hugo-atom-feed is unmaintained, just like I was talking about with @stefanv in #692. |
|
(Closed in error, wrong button – sorry about that!) |
That's going to be a blocker going forward. I guess merging into scipy-theme is not a bad idea (but add origin in comment) - a fork for a single file seems indeed overkill ;). |
|
Ideally, we make a PR to the original source; meanwhile, we can vendor. |
We cannot vendor it due to licensing concerns, unfortunately, @stefanv – as I describe in #714, which I just opened with all the details. This PR will have to remain blocked in the meantime. Thanks for the contribution, @kreczko, nevertheless! I hope we can come around to it and merge it soon enough! |
This PR fixes #711 by replacing the deprecated
.Site.LanguageCodeto with.Site.Language.Locale(see hugo docs)