提交 47d73639 编写于 作者: T Tao Luo 提交者: GitHub

Merge pull request #320 from luotao1/bug

fix the link in book.paddlepaddle.org
...@@ -78,12 +78,12 @@ ...@@ -78,12 +78,12 @@
</a> </a>
</li> </li>
<li class="nav-item {% if not is_en %}active{% endif %}"> <li class="nav-item {% if not is_en %}active{% endif %}">
<a class="nav-link" href="{% if is_en %}./index.html{% else %}#{%endif%}"> <a class="nav-link" href="{% if is_en %}./index.cn.html{% else %}#{%endif%}">
{% if is_en %}中文{% else %}深度学习入门{% endif %} {% if is_en %}中文{% else %}深度学习入门{% endif %}
</a> </a>
</li> </li>
<li class="nav-item {% if is_en %}active{% endif %}"> <li class="nav-item {% if is_en %}active{% endif %}">
<a class="nav-link" href="{% if is_en %}#{% else %}./index.en.html{% endif %}"> <a class="nav-link" href="{% if is_en %}#{% else %}./index.html{% endif %}">
{% if is_en %}Deep Learning 101{% else %}English{% endif %} {% if is_en %}Deep Learning 101{% else %}English{% endif %}
</a> </a>
</li> </li>
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
</div> </div>
</div> </div>
<div class="col"> <div class="col">
<iframe src="./01.fit_a_line/index{% if is_en %}.en{% endif %}.html" style="border: none; overflow-y : hidden" width="100%" height="100%" name="content_iframe" id="content_iframe"> <iframe src="./01.fit_a_line/index{% if not is_en %}.cn{% endif %}.html" style="border: none; overflow-y : hidden" width="100%" height="100%" name="content_iframe" id="content_iframe">
</iframe> </iframe>
</div> </div>
</div> </div>
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
</a> </a>
</li> </li>
<li class="nav-item "> <li class="nav-item ">
<a class="nav-link" href="./index.en.html"> <a class="nav-link" href="./index.html">
English English
</a> </a>
</li> </li>
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
</div> </div>
</div> </div>
<div class="col"> <div class="col">
<iframe src="./01.fit_a_line/index.html" style="border: none; overflow-y : hidden" width="100%" height="100%" name="content_iframe" id="content_iframe"> <iframe src="./01.fit_a_line/index.cn.html" style="border: none; overflow-y : hidden" width="100%" height="100%" name="content_iframe" id="content_iframe">
</iframe> </iframe>
</div> </div>
</div> </div>
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
</a> </a>
</li> </li>
<li class="nav-item "> <li class="nav-item ">
<a class="nav-link" href="./index.html"> <a class="nav-link" href="./index.cn.html">
中文 中文
</a> </a>
</li> </li>
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
</div> </div>
</div> </div>
<div class="col"> <div class="col">
<iframe src="./01.fit_a_line/index.en.html" style="border: none; overflow-y : hidden" width="100%" height="100%" name="content_iframe" id="content_iframe"> <iframe src="./01.fit_a_line/index.html" style="border: none; overflow-y : hidden" width="100%" height="100%" name="content_iframe" id="content_iframe">
</iframe> </iframe>
</div> </div>
</div> </div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册