-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Added hreflang alternate tags #74
Conversation
src/templates/base.html
Outdated
@@ -25,6 +25,10 @@ | |||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800"> | |||
<link rel="stylesheet" href="/static/css/styles.css"> | |||
{% endblock %} | |||
{% set view_args = request.view_args.copy() %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The indentation here is inconsistent. Could you match the rest of the file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK i'll correct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like they're one nested level too many. Everything should be aligned with the blocks/links before it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already corrected in the new commit no ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I think it ok now :)
* Language class * fix tests * Added hreflang alternate tags (#74) * add link alternate hreflang tags * correct indentation * second try to correct indentation .. * update view args in template method * fix tests
I checked out your branch "lang". Please tell me if i should wait your PR merge :)
I loop over the available languages and add the link alternate tags to the head (on base.html). Sounds working
Fixes #61