_includes/addons/source/i18n.liquid in jekyll-rtd-theme-1.0.0 vs _includes/addons/source/i18n.liquid in jekyll-rtd-theme-1.0.1

- old
+ new

@@ -1,9 +1,9 @@ <dl> <dt>{{ __translations }}</dt> {%- for item in site_langs -%} <dd> - {%- if item == site.lang -%} + {%- if item == site_lang -%} {%- assign url = "" -%} {%- else -%} {%- assign url = item | append: "/" -%} {%- endif -%} <a href="{{ site.baseurl }}/{{ url }}"><i class="fa fa-language"></i> {{ item }}</a>