<% if (site.categories.length){ %>
diff --git a/layout/_pages/search-page.ejs b/layout/_pages/search-page.ejs
deleted file mode 100644
index 73d2ce7c2..000000000
--- a/layout/_pages/search-page.ejs
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
<%- __('search') %>
-
-
-
-
-
- <%- __('search_notice_page', config.title) %>
-
-
-
-
-
-
<%- __('search_notice_keys', strip_html(list_tags({
- orderby: 'date',
- show_count: false,
- style: 'none',
- separator: ' ',
- amount: 3
- }))) %>
-
<%- __('search_notice_tags') %>
-
- <%- tagcloud({
- orderby: 'date',
- min_font: 18,
- max_font: 24,
- unit: 'px',
- color: true,
- start_color: '#b2b7be',
- end_color: '#6c7588'
- }) %>
-
-
-
-
-
-
-<%- js_theme_cdn('js/local-search.min.js', {defer: true}) %>
\ No newline at end of file
diff --git a/layout/_pages/search.ejs b/layout/_pages/search.ejs
new file mode 100644
index 000000000..1b6227a78
--- /dev/null
+++ b/layout/_pages/search.ejs
@@ -0,0 +1,149 @@
+
+
+
+
+
+ <%- __('search.notice.page', config.title) %>
+
+
+
+
+
+
<%- __('search.notice.keywords', strip_html(list_tags({
+ orderby: 'date',
+ show_count: false,
+ style: 'none',
+ separator: ' ',
+ amount: 3
+ }))) %>
+
<%- __('search.notice.tags') %>
+
+ <%- tagcloud({
+ orderby: 'date',
+ min_font: 18,
+ max_font: 24,
+ unit: 'px',
+ color: true,
+ start_color: '#b2b7be',
+ end_color: '#6c7588'
+ }) %>
+
+
+
+
+
+
+
+
+
+
+
+
+ $TAG
+
+
+
+ $CATEGORY
+
+
+<% if (theme.search.provider === "local") { %>
+
+ <%- js_theme_cdn('js/kr-search.min.js', {defer: true}) %>
+<% } %>
diff --git a/layout/_pages/tags.ejs b/layout/_pages/tags.ejs
index fdc9f6bba..8e9aec636 100644
--- a/layout/_pages/tags.ejs
+++ b/layout/_pages/tags.ejs
@@ -4,15 +4,15 @@
}
.arc-tags a {
- -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
- box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
+ -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
border: 1px solid #fff;
border-radius: 15px;
margin: 4px 8px 0 0;
font-weight: 500;
display: inline-block;
padding: 0 12px;
- background: rgba(255, 255, 255, .5);
+ background: rgba(255, 255, 255, 0.5);
font-size: 16px;
}
@@ -21,15 +21,16 @@
color: #e8a6a6;
}
+
-
-
-
- <%- __('tagcloud') %>
-
+
+
+
- <%- __('tags_count', site.tags.length ) %>
+ <%- __('list_page_count_message.tags', site.tags.length ) %>
+