diff --git a/layout/_partial/article-meta-info.ejs b/layout/_partial/article-meta-info.ejs index 88df737..6962b35 100644 --- a/layout/_partial/article-meta-info.ejs +++ b/layout/_partial/article-meta-info.ejs @@ -1,10 +1,10 @@
- <%= date(articleObject.date, is_post() ? 'YYYY-MM-DD HH:mm:ss' : 'YYYY-MM-DD') %> + <%= date(articleObject.date, is_post() ? 'YYYY-MM-DD HH:mm:ss' : 'YYYY-MM-DD') %> <% if (articleObject.categories.length) { %> - +
diff --git a/layout/_partial/first-screen.ejs b/layout/_partial/first-screen.ejs index 84d468c..587d683 100644 --- a/layout/_partial/first-screen.ejs +++ b/layout/_partial/first-screen.ejs @@ -10,13 +10,13 @@ <% if(key === 'email') { %>
  • - +
  • <% } else { %>
  • - +
  • <% } %> diff --git a/layout/_partial/footer.ejs b/layout/_partial/footer.ejs index 6169f0a..e8ce6fd 100644 --- a/layout/_partial/footer.ejs +++ b/layout/_partial/footer.ejs @@ -5,7 +5,7 @@ <% if (theme.footer.since) { %> <%= theme.footer.since %> ~ <% } %> - <%= date(new Date(), 'YYYY') %> <%= theme.base_info.author || config.author %> + <%= date(new Date(), 'YYYY') %> <%= theme.base_info.author || config.author %> <% if (theme.website_count.busuanzi_count.enable) { %> diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index 37ab53f..2f2c844 100644 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -1,5 +1,6 @@ + <% let title = page.title; if (is_archive()) { @@ -20,11 +21,11 @@ <% if (title){ %><%= title %> | <% } %> - <%= theme.base_info.title || config.title || 'KEEP' %> + <%= theme.base_info.title || config.title || 'Keep' %> - - <%- favicon_tag('images/logo.svg') %> + <%- __favicon_tag('images/logo.svg') %> <%- css('css/style') %> + <%- __font('css/font-awesome.min.css') %> <%- export_config() %> diff --git a/layout/_partial/home-article-meta-info.ejs b/layout/_partial/home-article-meta-info.ejs index a9bf9b2..18d072d 100644 --- a/layout/_partial/home-article-meta-info.ejs +++ b/layout/_partial/home-article-meta-info.ejs @@ -1,8 +1,8 @@
    - <%- moment(post.updated, Date.now()).locale(config.language).fromNow() %> + <%- moment(post.date, Date.now()).locale(config.language).fromNow() %> <% if (post.categories.length && theme.home_article.category.enable === true) { %> -
    - <%- __('read_more') %> + <%- __('read_more') %>
    diff --git a/layout/_partial/local-search.ejs b/layout/_partial/local-search.ejs index 085d5a1..f326a2e 100644 --- a/layout/_partial/local-search.ejs +++ b/layout/_partial/local-search.ejs @@ -2,7 +2,7 @@ - \ No newline at end of file + diff --git a/layout/_partial/scripts.ejs b/layout/_partial/scripts.ejs index 9b6a4c5..7e9a2f0 100644 --- a/layout/_partial/scripts.ejs +++ b/layout/_partial/scripts.ejs @@ -1,30 +1,30 @@ -<%- js([ +<%- __js([ 'js/utils.js', 'js/header-shrink.js', 'js/main.js' ]) %> <% if (theme.side_tools.enable) { %> - <%- js('js/dark-light-toggle.js') %> + <%- __js('js/dark-light-toggle.js') %> <% if (theme.back2top.enable) { %> - <%- js('js/back2top.js') %> + <%- __js('js/back2top.js') %> <% } %> <% } %> <% if (theme.local_search.enable) { %> - <%- js('js/local-search.js') %> + <%- __js('js/local-search.js') %> <% } %> <% if (is_post()) { %> - <%- js('js/left-side-toggle.js') %> + <%- __js('js/left-side-toggle.js') %> <% if (theme.code_copy.enable ) { %> - <%- js('js/code-copy.js') %> + <%- __js('js/code-copy.js') %> <% } %> <% if (theme.toc.enable) { %> - <%- js(['js/libs/anime.min.js', 'js/toc.js']) %> + <%- __js(['js/libs/anime.min.js', 'js/toc.js']) %> <% } %> <% } %> diff --git a/layout/_partial/tools.ejs b/layout/_partial/tools.ejs index c714b07..3ae5fb1 100644 --- a/layout/_partial/tools.ejs +++ b/layout/_partial/tools.ejs @@ -2,20 +2,20 @@