diff --git a/README.md b/README.md index a4ce5c0cd..b6bc8cbbd 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ [![Author](https://img.shields.io/badge/author-Viosey-blue.svg?style=flat-square)](https://viosey.com) [![QQ Group](https://img.shields.io/badge/QQ%20%E7%BE%A4-566308505-blue.svg?style=flat-square)](http://jq.qq.com/?_wv=1027&k=40Vdy24) -[![Version](https://img.shields.io/badge/version-1.3.3-green.svg?style=flat-square)]() +[![Version](https://img.shields.io/badge/version-1.3.4-green.svg?style=flat-square)]() [![Hexo](https://img.shields.io/badge/hexo-3.0+-green.svg?style=flat-square)](https://hexo.io) [![Build Status](https://img.shields.io/travis/viosey/hexo-theme-material.svg?style=flat-square)](https://travis-ci.org/viosey/hexo-theme-material) diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index 160f66e67..817236b18 100644 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -2,7 +2,7 @@ + Version: 1.3.4 --> <% diff --git a/layout/_partial/import_js.ejs b/layout/_partial/import_js.ejs index 62d07c78e..efe48d6f7 100644 --- a/layout/_partial/import_js.ejs +++ b/layout/_partial/import_js.ejs @@ -67,10 +67,8 @@ $(document).ready(function(){ - setTimeout(function(){ - setInterval(function(){ - queue.execNext(); - },200); - },3000); + setInterval(function(){ + queue.execNext(); + },200); }); diff --git a/layout/_partial/isolate_info.ejs b/layout/_partial/isolate_info.ejs index 616f12e7e..709156504 100644 --- a/layout/_partial/isolate_info.ejs +++ b/layout/_partial/isolate_info.ejs @@ -32,7 +32,13 @@

- <%= theme.uiux.slogan %> + <% if(theme.uiux.slogan) { %> + <% if(Array.isArray(theme.uiux.slogan)) { %> + <%- theme.uiux.slogan.join('
') %> + <% } else { %> + <%- theme.uiux.slogan %> + <% } %> + <% } %>

@@ -43,14 +49,15 @@ - - <% for (var i in theme.pages) { %> - - - <%= i %> - - - <% } %> + + <% for (var i in theme.sidebar.pages) { %> + + + <%= i %> + + + <% } %> + diff --git a/package.json b/package.json index 563af5d45..087d9e998 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hexo-material", - "version": "1.3.3", + "version": "1.3.4", "description": "Material Design Theme for Hexo", "scripts": { "test": "echo \"Error: no test specified\"",