├── layout ├── _custom │ ├── body.ejs │ ├── head.ejs │ └── script.ejs ├── _partial │ ├── _plugins │ │ ├── valine.ejs │ │ ├── blogroll.ejs │ │ ├── gitment.ejs │ │ └── site-visitor.ejs │ ├── loading.ejs │ ├── post │ │ ├── repo-icon.ejs │ │ ├── music.ejs │ │ ├── top.ejs │ │ ├── reward-btn.ejs │ │ ├── tag.ejs │ │ ├── date.ejs │ │ ├── category.ejs │ │ ├── comment.ejs │ │ ├── updated.ejs │ │ ├── share-fab.ejs │ │ ├── head-meta.ejs │ │ ├── visitor.ejs │ │ ├── copyright.ejs │ │ ├── toc.ejs │ │ ├── title.ejs │ │ ├── thumb.ejs │ │ ├── repo.ejs │ │ ├── comment-count.ejs │ │ ├── nav.ejs │ │ ├── reward.ejs │ │ └── share.ejs │ ├── _third-party │ │ ├── visit_counter.ejs │ │ ├── daovoice.ejs │ │ ├── gitment.ejs │ │ ├── leancloud_visitors.ejs │ │ ├── valine.ejs │ │ ├── baidu_tongji.ejs │ │ ├── local_search.ejs │ │ ├── dynamic_title.ejs │ │ ├── mathjax.ejs │ │ └── github_repo.ejs │ ├── paginator.ejs │ ├── after-footer.ejs │ ├── archive.ejs │ ├── footer.ejs │ ├── tags-bar.ejs │ ├── script.ejs │ ├── index-item.ejs │ ├── head.ejs │ ├── post.ejs │ ├── menu.ejs │ └── header.ejs ├── tag.ejs ├── category.ejs ├── post.ejs ├── layout.ejs ├── tags.ejs ├── categories.ejs ├── archive.ejs ├── index.ejs └── page.ejs ├── source ├── css │ ├── _custom │ │ └── custom.less │ ├── fonts │ │ ├── bluehost │ │ │ ├── Bluehost-Bold.woff │ │ │ └── Bluehost-Regular.woff │ │ └── fontawesome │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ └── fontawesome-webfont.woff2 │ ├── _partial │ │ ├── bluehost.less │ │ ├── plugins.less │ │ ├── gotop.less │ │ ├── loading.less │ │ ├── imagebox.less │ │ ├── reward.less │ │ ├── tags.less │ │ ├── search.less │ │ ├── header.less │ │ ├── archives.less │ │ ├── repo.less │ │ ├── waves.less │ │ ├── share.less │ │ ├── highlight.less │ │ ├── variable.less │ │ ├── page.less │ │ ├── postlist.less │ │ ├── layout.less │ │ └── article.less │ ├── style.less │ └── third-party │ │ └── daovoice.less ├── img │ ├── brand.jpg │ ├── icons.png │ ├── avatar.jpg │ ├── banner.jpg │ ├── favicon.ico │ ├── github.png │ ├── img-err.png │ ├── loader.gif │ ├── refresh.png │ ├── thumb │ │ ├── 1.jpg │ │ ├── 10.jpg │ │ ├── 2.jpg │ │ ├── 3.jpg │ │ ├── 4.jpg │ │ ├── 5.jpg │ │ ├── 6.jpg │ │ ├── 7.jpg │ │ ├── 8.jpg │ │ └── 9.jpg │ ├── img-loading.png │ ├── reward-alipay.jpg │ ├── reward-wechat.jpg │ └── icons.svg └── js │ ├── plugins │ ├── valine.js │ ├── daovoice.js │ ├── gitment.js │ ├── ios-orientationchange-fix.js │ ├── leancloud_visitors.js │ └── local_search.js │ ├── blog.js │ ├── _config.yml │ └── method.js ├── .editorconfig ├── languages ├── zh-TW.yml ├── zh-CN.yml └── en.yml ├── package.json ├── LICENSE ├── scripts └── plugins.js ├── README.md └── _config.yml /layout/_custom/body.ejs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /layout/_custom/head.ejs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /layout/_custom/script.ejs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/css/_custom/custom.less: -------------------------------------------------------------------------------- 1 | //custom style -------------------------------------------------------------------------------- /layout/_partial/_plugins/valine.ejs: -------------------------------------------------------------------------------- 1 |
-------------------------------------------------------------------------------- /layout/_partial/loading.ejs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /layout/tag.ejs: -------------------------------------------------------------------------------- 1 | <%- partial('tags', { 2 | title: theme.tags_title + ': '+ page.tag 3 | }) %> 4 | -------------------------------------------------------------------------------- /source/img/brand.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/brand.jpg -------------------------------------------------------------------------------- /source/img/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/icons.png -------------------------------------------------------------------------------- /source/img/avatar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/avatar.jpg -------------------------------------------------------------------------------- /source/img/banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/banner.jpg -------------------------------------------------------------------------------- /source/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/favicon.ico -------------------------------------------------------------------------------- /source/img/github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/github.png -------------------------------------------------------------------------------- /source/img/img-err.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/img-err.png -------------------------------------------------------------------------------- /source/img/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/loader.gif -------------------------------------------------------------------------------- /source/img/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/refresh.png -------------------------------------------------------------------------------- /source/img/thumb/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/thumb/1.jpg -------------------------------------------------------------------------------- /source/img/thumb/10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/thumb/10.jpg -------------------------------------------------------------------------------- /source/img/thumb/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/thumb/2.jpg -------------------------------------------------------------------------------- /source/img/thumb/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/thumb/3.jpg -------------------------------------------------------------------------------- /source/img/thumb/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/thumb/4.jpg -------------------------------------------------------------------------------- /source/img/thumb/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/thumb/5.jpg -------------------------------------------------------------------------------- /source/img/thumb/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/thumb/6.jpg -------------------------------------------------------------------------------- /source/img/thumb/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/thumb/7.jpg -------------------------------------------------------------------------------- /source/img/thumb/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/thumb/8.jpg -------------------------------------------------------------------------------- /source/img/thumb/9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/thumb/9.jpg -------------------------------------------------------------------------------- /layout/category.ejs: -------------------------------------------------------------------------------- 1 | <%- partial('categories', { 2 | title: theme.categories_title + ': ' + page.category 3 | }) %> -------------------------------------------------------------------------------- /source/img/img-loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/img-loading.png -------------------------------------------------------------------------------- /source/img/reward-alipay.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/reward-alipay.jpg -------------------------------------------------------------------------------- /source/img/reward-wechat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/img/reward-wechat.jpg -------------------------------------------------------------------------------- /layout/_partial/post/repo-icon.ejs: -------------------------------------------------------------------------------- 1 | <% if (post.repo) { %> 2 | 3 | <% } %> -------------------------------------------------------------------------------- /layout/_partial/_third-party/visit_counter.ejs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /layout/_partial/post/music.ejs: -------------------------------------------------------------------------------- 1 | <% if (/type\=\"music\"/g.test(post.raw)) { %> 2 | 3 | <% } %> -------------------------------------------------------------------------------- /source/css/fonts/bluehost/Bluehost-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/css/fonts/bluehost/Bluehost-Bold.woff -------------------------------------------------------------------------------- /source/css/fonts/fontawesome/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefine/hexo-theme-mellow/HEAD/source/css/fonts/fontawesome/FontAwesome.otf -------------------------------------------------------------------------------- /layout/_partial/post/top.ejs: -------------------------------------------------------------------------------- 1 |2 | Links: 3 | <% for (var i in theme.blogroll) { var rollItem = theme.blogroll[i] %> 4 | 5 | <%- rollItem.name %> 6 | 7 | <% } %> 8 |
9 | -------------------------------------------------------------------------------- /source/js/plugins/valine.js: -------------------------------------------------------------------------------- 1 | const valine = new Valine({ 2 | el: "#comment" , 3 | notify: DC.v.notify, 4 | verify: DC.v.verify, 5 | app_id: DC.v.appid, 6 | app_key: DC.v.appkey, 7 | placeholder: DC.v.placeholder, 8 | path: window.location.pathname, 9 | avatar: DC.v.avatar 10 | }); -------------------------------------------------------------------------------- /layout/_partial/_third-party/valine.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /layout/_partial/_plugins/gitment.ejs: -------------------------------------------------------------------------------- 1 | <% if (theme.gitment.lazy) { %> 2 | 5 | 6 | <% } else { %> 7 | 8 | <% } %> 9 | -------------------------------------------------------------------------------- /layout/post.ejs: -------------------------------------------------------------------------------- 1 | <%- partial('_partial/header', { 2 | title: page.title, 3 | hdClass: 'post-header' 4 | }) %> 5 | <% 6 | page.reward = 'reward' in page ? !!theme.reward && !!page.reward : !!theme.reward; 7 | %> 8 |3 |16 | <% } %> -------------------------------------------------------------------------------- /layout/_partial/post/toc.ejs: -------------------------------------------------------------------------------- 1 | <% if(theme.toc.enable){ 2 | // const res = post.content.replace(/\<\/a>/g, ""); 3 | const topic = toc(trim(post.content), { 4 | class: 'post-toc', 5 | list_number: theme.toc.list_number, 6 | max_depth: 4 7 | }) 8 | if (topic) { %> 9 |4 | <%- partial('updated') %> 5 | <% if(theme.postMessage) {%> 6 | <%- _.template(theme.postMessage)(locals) %> 7 | <% } %> 8 |9 | 15 |