We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now we have to manually construct URL's for any page that is lanuage aware. E.g. https://www.originprotocol.com/ko/presale is generated here https://github.com/OriginProtocol/company-website/blob/master/templates/navbar.html#L33 as
https://www.originprotocol.com/ko/presale
<a class="nav-link" href="{{'/%s/presale'% CURRENT_LANGUAGE}}">{{gettext("Presale")}}</a>
Much better to use endpoints and url_for(). https://stackoverflow.com/a/19262349/59913
url_for()
The text was updated successfully, but these errors were encountered:
@micahalcorn Can you look at this housecleaning, since you figured out the url_for() syntax for partners page?
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Right now we have to manually construct URL's for any page that is lanuage aware. E.g.
https://www.originprotocol.com/ko/presale
is generated herehttps://github.com/OriginProtocol/company-website/blob/master/templates/navbar.html#L33
as
Much better to use endpoints and
url_for()
.https://stackoverflow.com/a/19262349/59913
The text was updated successfully, but these errors were encountered: