diff --git a/.gitignore b/.gitignore index 1964dfb..1071321 100644 --- a/.gitignore +++ b/.gitignore @@ -11,5 +11,6 @@ public/ themes/yilia/source/css/ themes/yilia/source/js/ themes/yilia/source/fonts/ +themes/yilia/source/images/ themes/yilia/layout/_partial/css.ejs themes/yilia/layout/_partial/script.ejs \ No newline at end of file diff --git a/themes/yilia/layout/_partial/archive-post.ejs b/themes/yilia/layout/_partial/archive-post.ejs index 5a13836..a300d20 100644 --- a/themes/yilia/layout/_partial/archive-post.ejs +++ b/themes/yilia/layout/_partial/archive-post.ejs @@ -5,7 +5,7 @@ <%- partial('post/date', {class_name: 'archive-article-date', date_format: null}) %> <%- partial('post/title', {class_name: 'archive-article-title'}) %> -
+
<%- partial('post/tag') %> <%- partial('post/category') %>
diff --git a/themes/yilia/layout/_partial/head.ejs b/themes/yilia/layout/_partial/head.ejs index d88f3e8..b604560 100644 --- a/themes/yilia/layout/_partial/head.ejs +++ b/themes/yilia/layout/_partial/head.ejs @@ -5,16 +5,16 @@ <% var title = page.title; if (is_archive()){ - title = 'Archives'; + title = __('archives'); if (is_month()){ title += ': ' + page.year + '/' + page.month; } else if (is_year()){ title += ': ' + page.year; } } else if (is_category()){ - title = 'Category: ' + page.category; + title = __('category') + ': ' + page.category; } else if (is_tag()){ - title = 'Tag: ' + page.tag; + title = __('tag') + ': ' + page.tag; } %> diff --git a/themes/yilia/layout/_partial/post/category.ejs b/themes/yilia/layout/_partial/post/category.ejs index 618913b..da4a8e1 100644 --- a/themes/yilia/layout/_partial/post/category.ejs +++ b/themes/yilia/layout/_partial/post/category.ejs @@ -4,7 +4,7 @@ diff --git a/themes/yilia/layout/_partial/post/tag.ejs b/themes/yilia/layout/_partial/post/tag.ejs index a6c931f..bdada88 100644 --- a/themes/yilia/layout/_partial/post/tag.ejs +++ b/themes/yilia/layout/_partial/post/tag.ejs @@ -4,7 +4,7 @@ diff --git a/themes/yilia/layout/_partial/tools.ejs b/themes/yilia/layout/_partial/tools.ejs index 604be9a..7b0307d 100644 --- a/themes/yilia/layout/_partial/tools.ejs +++ b/themes/yilia/layout/_partial/tools.ejs @@ -43,7 +43,7 @@