-
- Using blocks in
partials/langswitcher.html.twig
to make it easier to extend without having to copy the logic
- Using blocks in
-
- Require Grav
1.7.37
to make use of the newPages::getSimplePagesHash()
method - Added caching to
translated_routes
so translation work is only performed on the first load, resulting in faster subsequent page loads
- Require Grav
-
- Completely rewrote the logic for translated URLs to be more robust.
- Added configuration option to use Translated URLs or use previous Raw-Route approach
-
- Updated
hreflang
Twig template to use new translated URLs logic - Added an
x-default
entry forhreflang
template when default language hasinclude_default_lang
set to false - Support
params
andquery
string parameters in URLs - Full domain URLs for
hreflang
entries
- Updated
-
- Fixed exception thrown instead of 404 Page not found #66
-
- Made langswitcher data available in Grav object
-
- Fix multilang alternatives #58
-
- Pass phpstan level 1 tests
- Require Grav v1.6
-
- Fix
hreflang
URLs #57
- Fix
-
- Added some translations #45
-
- Added the
untranslated_pages_behavior
option to determine what to do with a language link when the current page doesn't exist in that language or it exists but it's not published
- Added the
-
- Fixed generated URLs when
append_url_extension
is set, via PR #22
- Fixed generated URLs when
-
- Added support for
hreflang
annotations via PR #19
- Added support for