Skip to content

Commit

Permalink
Translate index page title
Browse files Browse the repository at this point in the history
  • Loading branch information
Flohw committed May 13, 2016
1 parent aceb6cd commit ee25653
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion _data/ui-text.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ en: &DEFAULT_EN
powered_by : "Powered by"
website_label : "Website"
email_label : "Email"
recent_posts : "Recent Posts"
en-US:
<<: *DEFAULT_EN
en-UK:
<<: *DEFAULT_EN

# Another locale
# --------------
# --------------
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

{% include base_path %}

<h3 class="archive__subtitle">Recent Posts</h3>
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts }}</h3>

{% for post in paginator.posts %}
{% include archive-single.html %}
{% endfor %}

{% include paginator.html %}
{% include paginator.html %}

0 comments on commit ee25653

Please sign in to comment.