Skip to content
Snippets Groups Projects

make translated strings appear in homepage. will-fix:...

Closed emmapeel requested to merge emmapeel/community:localize_homepage into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -8,7 +8,7 @@
<li{% if this.is_child_of(abs_path) %} class="nav-item active border-active" {% else %} class="nav-item" {% endif %}>
{% set elm = site.get(item.path) %}
{% if elm %}
<a class="nav-link" href="{{ elm.path|url }}">{{ item.label }}
<a class="nav-link" href="{{ elm.path|url }}">{{ _(item.label) }}
{% endif %}
{% if this.is_child_of(abs_path) %}
<span class="sr-only">(current)</span>
Loading