Skip to content

Fix learn URL #1041

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

Closed
wants to merge 1 commit into from
Closed

Conversation

HikaruEgashira
Copy link

description

Fix #1039
Fix #1040

#1040 is not correctly work
If I visit https://www.rust-lang.org/ja/tools , This link will redirect to https://www.rust-lang.org/ja/tools/learn

Remarks

I have not test this PR.
I will test as soon.

@@ -4,7 +4,7 @@
<div class="flex flex-column mw8 w-100 measure-wide-l pv2 pv5-m pv2-ns ph4-m ph4-l" id="get-help">
<h4>{{fluent "footer-get-help"}}</h4>
<ul>
<li><a href="{{baseurl}}/learn">{{fluent "footer-doc"}}</a></li>
<li><a href="https://www.rust-lang.org/{{lang}}/learn">{{fluent "footer-doc"}}</a></li>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should still use the baseurl

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait, no, the baseurl already includes the lang

@Manishearth
Copy link
Member

#1040 is working, I don't see what the issue is. It's deployed at https://www-staging.rust-lang.org

@HikaruEgashira HikaruEgashira deleted the patch-1 branch March 19, 2020 23:24
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

Successfully merging this pull request may close these issues.

Link to documentation at the footer is not good for translated contents
2 participants