File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed
Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 3737 {% if page.layout != 'index' %}
3838 < div class ="float-sm-left pl-3 breadcrumb ">
3939 < p class ="my-0 py-3 py-sm-4 text-gray ">
40- {% if page.lang != 'en' %}
41- < a href ="/{{ page.lang }}/ " class ="text-gray "> {{ site.title }}</ a >
40+ {% assign lang_url = '/' | append: page.lang | append: '/' %}
41+ {% assign lang_index = site.pages | where: "url", lang_url %}
42+ {% if page.lang != 'en' and lang_index.size > 0 %}
43+ < a href ="{{ lang_url }} " class ="text-gray "> {{ site.title }}</ a >
44+ {% elsif page.lang != 'en' %}
45+ < a href ="{{ '/' | relative_url }} " class ="text-gray "> {{ site.title }}</ a >
4246 {% else %}
4347 < a href ="/ " class ="text-gray "> {{ site.title }}</ a >
4448 {% endif %}
Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ <h1 class="h00-mktg">{{ header }}</h1>
3333 < a href ="{{ article.url | relative_url }} " class ="guide-cover {{ article.class }} Box height-full d-block ">
3434
3535 < div class ="lh-none guide-cover-img text-center pt-4 ">
36- < img src ="{{ site.baseurl }}/assets/images/illos/{{ article.class }}.svg " class =""
36+ {% assign illo = article.class | default: 'default' %}
37+ < img src ="{{ site.baseurl }}/assets/images/illos/{{ illo }}.svg " class =""
3738 alt ="{{ article.title }} illustration ">
3839 </ div >
3940
You can’t perform that action at this time.
0 commit comments