-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to change the lang attribute on <html> #177
Comments
Fixed at #180 |
Thanks @ulivz! |
I found that you reported two different problems,
Thanks! |
Thanks again @ulivz. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've tried to change the
lang
attribute on<html>
using YAML front matter, but I probably miss something because it doesn't work.This is what I do for each page:
$page.frontmatter.lang
is then equal tofr-FR
, but$lang
is stillen-US
.The only way I've found is to use the
locales
option in.vuepress/config.js
:but it's weird, and activate the
languages
link in the navbar.The text was updated successfully, but these errors were encountered: