From 34ffbe5a0ec2de1e78a62303e096ff51871a2eb3 Mon Sep 17 00:00:00 2001 From: Jun NOGATA Date: Sun, 27 Aug 2017 00:35:46 +0900 Subject: [PATCH] Add Read more message and language catalog --- languages/default.yml | 2 ++ layout/_partial/read-more.ejs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 languages/default.yml diff --git a/languages/default.yml b/languages/default.yml new file mode 100644 index 0000000..249cb32 --- /dev/null +++ b/languages/default.yml @@ -0,0 +1,2 @@ +newer: "Newer Text" +older: "Older Text" diff --git a/layout/_partial/read-more.ejs b/layout/_partial/read-more.ejs index 6596dea..817f5ee 100644 --- a/layout/_partial/read-more.ejs +++ b/layout/_partial/read-more.ejs @@ -3,7 +3,7 @@ <% if (page.prev){ %>
- 最近的文章 + <%= __('newer') %>

<%= page.prev.title %>

<% if (page.prev.excerpt){ %> @@ -19,7 +19,7 @@ <% if (page.next){ %>

- 更早的文章 + <%= __('older') %>

<%= page.next.title %>

<% if (page.next.excerpt){ %>