diff options
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/post.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 4b7e5a6..e387299 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -33,10 +33,17 @@ layout: default {%- endif -%}</p> </header> + {{ page.available }}: <div class="lang"> <ul> {% for post in postsTrans %} - <li><a class="{{ post.lang }}" href="{{ site.base-url }}{{ post.url }}">{{ post.lang }}</a></li> + {% if post.lang != page.lang %} + <li> + <a class="{{ post.lang }}" href="{{ site.base-url }}{{ post.url }}"> + {{ post.link-str }} + </a> + </li> + {% endif %} {% endfor %} </ul> </div> |