~xdavidwu/xdavidwu.link

c1a37c72c9169a8b4c94a8c52de7dd536da11e6e — Michael Rose 8 years ago 500ed44 + ab2f704
Merge branch 'feature/translate-recent-posts-title' into develop
2 files changed, 4 insertions(+), 3 deletions(-)

M _data/ui-text.yml
M index.html
M _data/ui-text.yml => _data/ui-text.yml +2 -1
@@ 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
# --------------
\ No newline at end of file
# --------------

M index.html => index.html +2 -2
@@ 5,10 5,10 @@ author_profile: true

{% 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 %}
\ No newline at end of file
{% include paginator.html %}