Closed hjonin closed 9 months ago
Hi!
Since the version 2.0 of 11ty, a lang attribute has been available in the page variable.
lang
page
I am suggesting this PR to reflect this addition and use this handy attribute directly rather than inferring the lang from the URL.
Thanks in advance!
Incorrect branch for PR, replaced with https://github.com/adamduncan/eleventy-plugin-i18n/pull/28.
Hi!
Since the version 2.0 of 11ty, a
lang
attribute has been available in thepage
variable.I am suggesting this PR to reflect this addition and use this handy attribute directly rather than inferring the lang from the URL.
Thanks in advance!