Skip to content

Commit

Permalink
treewide: enable Italian language
Browse files Browse the repository at this point in the history
  • Loading branch information
lifehackerhansol committed Dec 19, 2023
1 parent 8431a79 commit 6bed2fb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ exclude: [
_pages/fr_FR,
_pages/he_IL,
_pages/hu_HU,
_pages/it_IT,
# _pages/it_IT,
_pages/ja_JP,
_pages/ko_KR,
_pages/nl_NL,
Expand Down Expand Up @@ -331,3 +331,9 @@ defaults:
type: pages
values:
permalink: /index:output_ext
- scope:
path: "_pages/it_IT"
type: pages
values:
permalink: /it_IT/:basename:output_ext
lang: it
1 change: 1 addition & 0 deletions _includes/masthead.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
{% assign langless_url = "" %}
{% endif %}
<li class="masthead__menu-item"><a href="{{ site.url }}/{{ langless_url }}">English</a></li>
<li class="masthead__menu-item"><a href="{{ site.url }}/it_IT/{{ langless_url }}">Italiano</a></li>
</ul>
<button class="greedy-nav__toggle hidden" type="button">
<span class="visually-hidden">{{ site.data.ui-text[site.locale].menu_label | default: "Toggle menu" }}</span>
Expand Down

0 comments on commit 6bed2fb

Please sign in to comment.