This is an automated email from the ASF dual-hosted git repository. fhueske pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/flink-web.git
commit 01ef1801eb04a7170e71b478c441ba48254d6e79 Author: 云邪 <wuchong...@alibaba-inc.com> AuthorDate: Wed Apr 10 20:35:53 2019 +0800 Fix link of language switch is broken in blog page This closes #198. --- _includes/navbar.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/navbar.html b/_includes/navbar.html index a5baeeb..4df5db7 100755 --- a/_includes/navbar.html +++ b/_includes/navbar.html @@ -67,7 +67,7 @@ <li{% if page.url contains '/gettinghelp.html' %} class="active"{% endif %}><a href="{{ baseurl_i18n }}/gettinghelp.html">{{ site.data.i18n[page.language].getting_help }}</a></li> <!-- Blog --> - <li{% if page.url contains '/blog/' or page.url contains '/news/' %} class="active"{% endif %}><a href="{{ site.baseurl }}/blog/"><b>{{ site.data.i18n[page.language].flink_blog }}</b></a></li> + <li{% if page.url contains '/blog/' or page.url contains '/news/' or page.url contains '/features/' %} class="active"{% endif %}><a href="{{ site.baseurl }}/blog/"><b>{{ site.data.i18n[page.language].flink_blog }}</b></a></li> @@ -92,7 +92,7 @@ <!-- Language Switcher --> <li> {% if page.is_default_language %} - {% if page.url contains '/blog/' %} + {% if page.url contains '/blog/' or page.url contains '/news/' or page.url contains '/features/' %} <!-- link to the Chinese home page when current is blog page --> <a href="{{ site.baseurl }}/zh">中文版</a> {% else %}