Closed rbenitezpagan closed 3 years ago
Looks good!
@raviriley I followed the referenced source. See (https://github.com/mmistakes/minimal-mistakes/blob/641ca6f3d8cd8fb0ae24e4f77b2e62a44a65e53b/_layouts/default.html#L11)
I believe having en
or es
helps with the page's SEO as . It is a configurable variable to declare the language of the Web page (https://www.w3schools.com/tags/ref_language_codes.asp) it specifies the language of the element's content. See (https://www.w3schools.com/tags/att_global_lang.asp)
Got it! Thanks for your PR!
This is an enhancement or feature.
Summary
This PR adds SPANISH (Español) Language Support to the theme.
Context
This work addresses this Feature Request
Changes
locale
->locale: "en-US" # See available languages in _data/sitetext.yml
US, CA, GB, AU
and Spanish (Español)ES, CO
US, CA, GB, AU
and Spanish (Español)ES, CO
site.data.sitetext.
tosite.data.sitetext[site.locale].
site.data.navigation.nav
tosite.data.navigation[site.locale].nav
<html>
to<html lang="{{ site.locale | slice: 0,2 | default: "en" }}">