From bda9a232612ff24e34d0ef3eb3aea18996f0913f Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Wed, 23 Mar 2016 21:49:01 -0400 Subject: [PATCH] Add locale string for "Page" --- _data/ui-text.yml | 1 + _includes/seo.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/_data/ui-text.yml b/_data/ui-text.yml index 9aff0d13..d6a0bcac 100644 --- a/_data/ui-text.yml +++ b/_data/ui-text.yml @@ -3,6 +3,7 @@ # English (default) # ----------------- en: &DEFAULT_EN + page : "Page" pagination_previous : "Previous" pagination_next : "Next" toc_label : "Overview" diff --git a/_includes/seo.html b/_includes/seo.html index 85d84b6a..2f1d71dc 100644 --- a/_includes/seo.html +++ b/_includes/seo.html @@ -16,7 +16,7 @@ {% assign canonical_url = page.url | replace: "index.html", "" | prepend: site.url %} {% endif %} -{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ site.title_separator }} page {{ paginator.page }}{% endunless %}{% endif %} +{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ site.title_separator }} {{ site.data.ui-text[site.locale].page }} {{ paginator.page }}{% endunless %}{% endif %} {% assign seo_description = page.description | default: page.excerpt | default: site.description %} {% if seo_description %}