Repository navigation
Conversation
|
This PR needs to be rebased. It would be good to rebase and merge before the next release. |
|
I ran out of time for 0.15.0 (which is out now), but upgrading Hugo and addressing deprecation warnings will be address next. |
3526d7e to
2afa85f
Compare
|
Thanks for this deprecation cleanup. A remaning warning still appears on Hugo >= v0.156: |
2afa85f to
30dd329
Compare
30dd329 to
83ddc24
Compare
|
Rebased PR to HEAD of main and fixed one more deprecation in |
Migrate theme templates and docs off the language config keys and methods deprecated in Hugo 0.156.0/0.158.0; raise the theme's minimum Hugo version to 0.158.0 (a 0.16 breaking change): - theme.toml / theme/hugo.yaml: min version 0.146.0 -> 0.158.0 - Theme templates: Language.Lang -> .Name, LanguageDirection -> .Direction, LanguageName -> .Label - navbar-lang-selector.html: range .Site.Languages -> hugo.Sites (preserves disabled entries for untranslated languages) - offline-search-index.json: .Site.AllPages -> hugo.Sites/.Pages - User-guide docs: languageName -> label, languageDirection -> direction - Changelog: breaking-change entry; thanks to @deining (docsy#2594, docsy#2578) Builds now log zero deprecation notices at --logLevel info.
|
@deining, thank you for this PR and for the groundwork it laid! Since the repo reorg created conflicts, and the fix evolved into raising the theme's Hugo floor to 0.158.0 (with |
This PR fixes #2593.