Skip to content
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

Adding support for setting language #7

Closed
a-rokay opened this issue Sep 29, 2021 · 1 comment
Closed

Adding support for setting language #7

a-rokay opened this issue Sep 29, 2021 · 1 comment

Comments

@a-rokay
Copy link
Owner

a-rokay commented Sep 29, 2021

I will add a new passable argument "--lang"/"-l", that allows the user to set the language of the generated html. The language they pass will be set in the root html tag like so:

ssg.py -i input.txt -l pt-BR
input.html
<!doctype html>
<html lang="pt-BR">
...

If the lang argument is not used, "en" will be set as the language.

@a-rokay
Copy link
Owner Author

a-rokay commented Sep 29, 2021

@a-rokay a-rokay closed this as completed Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant