iblh / hexo-theme-material Goto Github PK
View Code? Open in Web Editor NEWMaterial Design theme for hexo.
Home Page: https://iblh.github.io/material-demo/
License: GNU General Public License v3.0
Material Design theme for hexo.
Home Page: https://iblh.github.io/material-demo/
License: GNU General Public License v3.0
Isolation 主题似乎没有 archives 功能?没有找到生成 archives 页面的方法。
复制时候会跳到开头
现在这个版本有支持代码高亮吗
一些独立页面作为展示用,可能不需要集成评论服务。
之前使用 Jacman 的时候可以在 post 中添加一个选项来禁用评论功能,类似这样:
---
title: 关于
date: 2014-05-26 13:28:15
type: "about"
comments: false
---
希望添加类似的功能。
主题使用的时候,发现在c++代码中如果出现了#include字样,渲染就会有问题。研究了好久也无果,也尝试改变高亮风格也没用。
link
/source/tags
➜ tags git:(post) ✗>cat index.md
---
title: tags
date: 2016-01-29 14:10:01
type: "tags"
---
打开tags页面不显示标签呢
看到hexo有搜索插件,希望主题的搜索可以支持hexo-generator-search插件,或者借助hexo-generator-json-content生成的字段实现,而不是调用搜索引擎实现。
使用 Local 作为 search,只有在主页的第一页可以实现搜索;当翻到第二页时就无法进行搜索了(不能显示下拉菜单)
API:https://i-meto.com/bing-api/
必应每日一图的API,by 萨摩公园。
使用方法:这儿这儿
在文章首页显示摘要,能否新增通过 Markdown 的引用标记来自行设定摘要文字的功能,而不是选取特定长度的正文内容显示。
java代码高亮,后面的代码全是注释状态。。。
应该是不识别单行注释://
并且footer部分会有神秘的乱码
因为站长平台或者一些服务需要放一个文件进行验证,现在的情况是被渲染成页面,这样就验证了不了,有没有选项可以禁用某些文件的渲染?
目录组件在tags,links,about页面也会显示,但是是没有目录内容的
在
background:
purecolor:
bgimg:
中我分别设置了purecolor和bgimg,背景都显示是白色,没有效果,其他人是这样的吗?还是我设置的方法不对?
希望可以在 Front-matter 里加入 TOC 是否禁用的设置。
默认 TOC 是启用的,也可以人为设置 TOC: false
友情链接页面、标签云等一些独立页面,以及一些文章不需要 TOC。
下载插件后 站点配置也按照要求配置了 但是没生效 是主题配置也要设置吗
如果开启 about,关于会固定在第二位置,再添加独立页面,如「标签云」等时,则顺序往下排,「关于」的位置不可调整。
希望可以调整「关于」的位置。:)
Maybe you can add a Json parser to pull this json returned from the URL:
http://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1&mkt=en-US //(json)
http://www.bing.com/HPImageArchive.aspx?format=rss&idx=0&n=1&mkt=en-US //(xml)
Then check out the photo link in the json,automatically change the daily photo.
If you like this idea,please add it ASAP.
以前的评论不能显示,添加新评论后每个post下都出现了该条评论。
但在多说后台看是正常的。
在主页的第一页可以看见 Random 缩略图;当翻到第二页时就无法使用 Random 缩略图了,只会显示成纯色。在 Front-Matter 里定义的 Thumbnail 依然可以显示。
在markdown中添加了代码块,也标注了语言类型,但是并没有高亮语法,这个功能怎么启用,在文档中没找到?
集成多说要步骤
使用多说需要在 front-matter 中添加
id: id_number
如果是从其他博客系统迁移过来,id 需要和多说后台的 Thread_Key 保持一致。
每篇文章都要去添加一个id?这样也太麻烦了吧。
还有Thread_Key是哪里来的。
之前用的NexT主题,配置多说很方便啊。
搜索站内文章 点击并跳转 地址不是站内的地址
yoursite.com.....的某个地址
跳到了这个地址
http://144.dragonparking.com/?site=yoursite.com&t=1479735343&s=ccd206c62478149f8d18d9442fb853bd
不知是何原因
这个主题 有这个功能吗
新篇和旧篇是不是交换下比较好,感觉向后翻是下一个向前是上一个的意思
This theme have not got categories table. But have got categories function. So I can visit "example.com/categories/[my_categories]/" but I can not visit "example.com/categories/" and it not only can not return a wrong code but also cause everything which are in this page all broken. I hope you can repair this problem on time.
Thanks.
文章卡片看起来好像没有设置elevation,即纸片的阴影
参考:
https://material.google.com/material-design/elevation-shadows.html#elevation-shadows-elevation-android
配置
# Busuanzi 不蒜子 Views
busuanzi:
enable: true
all_site_uv: true
post_pv: true
busuanzi_pure_mini_js: "https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"
但是不显示呢?
今天刚刚看到这款主题,感觉很不错。在浏览您的博客时发现有个true在页面左边。不知道这是不是我浏览器的问题。
多说 data-thread-key="<%= page.id %>"但是获取到的page。id是undefined
用md写了一个表格,但是编译后自动加了好多样式,我想要带边框的表格
希望添加GoogleAnalytics
I would like to customize the theme for my own purpose, but I couldn't find the uncompressed stylesheet.
现在首页的分享里面有RSS分享,默认是打开的,不配置也会显示,能不能默认去掉?
修改hexo主题之后,执行hexo s -g , 访问http://localhost:4000/,终端显示以下log∑っ°Д;)っ ,麻烦作者看看,
另外,主题好漂亮,阿里嘎多 (●°u°●)」 ,已star,fork
Unhandled rejection TypeError: ~/Blog/themes/material/layout/layout.ejs:5
3| <%- partial('_partial/head') %>
4|
5|
6|
7|
8|
Cannot read property 'scheme' of undefined
at eval (eval at (/Blog/node_modules/ejs/lib/ejs.js:242:14), :30:159)/Blog/node_modules/ejs/lib/ejs.js:242:14), :30:884)
at eval (eval at (
at /Blog/node_modules/ejs/lib/ejs.js:255:15/Blog/node_modules/hexo/lib/theme/view.js:127:30)
at _compiled (
at View.render (/Blog/node_modules/hexo/lib/theme/view.js:29:15)/Blog/node_modules/bluebird/js/release/promise.js:510:31)
at /Blog/node_modules/hexo/lib/theme/view.js:40:23/Blog/node_modules/bluebird/js/release/util.js:16:23)
at tryCatcher (
at Promise._settlePromiseFromHandler (
at Promise._settlePromise (/Blog/node_modules/bluebird/js/release/promise.js:567:18)/Blog/node_modules/bluebird/js/release/promise.js:612:10)
at Promise._settlePromise0 (
at Promise._settlePromises (/Blog/node_modules/bluebird/js/release/promise.js:691:18)/Blog/node_modules/bluebird/js/release/async.js:138:16)
at Async._drainQueue (
at Async._drainQueues (~/Blog/node_modules/bluebird/js/release/async.js:148:10)
at Immediate.Async.drainQueues as _onImmediate
at tryOnImmediate (timers.js:543:15)
at processImmediate as _immediateCallback
WARN Partial _widget/head_custom does not exist. (in _partial/head.ejs)
Unhandled rejection TypeError: ~/Blog/themes/material/layout/layout.ejs:5
Name: fir.im
link: http://blog.izgq.net/
avatar: http://img.ptcms.csdn.net/article/201601/08/568f37886d0a3.jpg
descr: "aa"
error:
ERROR Process failed: _data/links.yml
YAMLException: bad indentation of a mapping entry at line 2, column 10:
link: http://blog.izgq.net/
^
at generateError (/root/hexo/node_modules/hexo/node_modules/js-yaml/lib/js-yaml/loader.js:162:10)
at throwError (/root/hexo/node_modules/hexo/node_modules/js-yaml/lib/js-yaml/loader.js:168:9)
at readBlockMapping (/root/hexo/node_modules/hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1075:7)
at composeNode (/root/hexo/node_modules/hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1327:12)
at readDocument (/root/hexo/node_modules/hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1489:3)
at loadDocuments (/root/hexo/node_modules/hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1545:5)
at Object.load (/root/hexo/node_modules/hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1562:19)
at Hexo.yamlHelper (/root/hexo/node_modules/hexo/lib/plugins/renderer/yaml.js:7:15)
at Hexo.tryCatcher (/root/hexo/node_modules/hexo/node_modules/bluebird/js/release/util.js:16:23)
at Hexo. (/root/hexo/node_modules/hexo/node_modules/bluebird/js/release/method.js:15:34)
at /root/hexo/node_modules/hexo/lib/hexo/render.js:61:21
at tryCatcher (/root/hexo/node_modules/hexo/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/root/hexo/node_modules/hexo/node_modules/bluebird/js/release/promise.js:510:31)
at Promise._settlePromise (/root/hexo/node_modules/hexo/node_modules/bluebird/js/release/promise.js:567:18)
at Promise._settlePromise0 (/root/hexo/node_modules/hexo/node_modules/bluebird/js/release/promise.js:612:10)
at Promise._settlePromises (/root/hexo/node_modules/hexo/node_modules/bluebird/js/release/promise.js:691:18)
at Async._drainQueue (/root/hexo/node_modules/hexo/node_modules/bluebird/js/release/async.js:138:16)
at Async._drainQueues (/root/hexo/node_modules/hexo/node_modules/bluebird/js/release/async.js:148:10)
at Async.drainQueues (/root/hexo/node_modules/hexo/node_modules/bluebird/js/release/async.js:17:14)
at process._tickCallback (node.js:458:13)
不能设置中文简体?
您好,我这总是不能正常显示多说评论,出现这样的错误
embed.js:1 GET https://claiyre.duoshuo.com/api/threads/counts.json?threads=undefined%2Cund…&require=site%2Cvisitor%2Cnonce%2Clang%2Cunread%2Clog%2CextraCss&v=16.6.16 400 ({Bad Request})ajax @ embed.js:1get @ embed.js:1S.initSelector @ embed.js:2each @ jquery.min.js:2S.initView @ embed.js:2(anonymous function) @ embed.js:2(anonymous function) @ embed.js:1(anonymous function) @ embed.js:1(anonymous function) @ embed.js:2
embed.js:1 出错啦(990002): 服务异常,请联系客服人员l @ embed.js:1g @ embed.js:1
配置文件是这样
comment:
use: "duoshuo"
shortname: Claiyre
duoshuo_thread_key: path
duoshuo_embed_js_url: "https://static.duoshuo.com/embed.js"
以前一直用的Google Analytics,不知道viosey大大能不能添加这个。
# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: hexo-theme-material
hexo serve
后,并访问站点得到了如下报错:INFO Start processing
INFO Hexo is running at http://localhost:4000/. Press Ctrl+C to stop.
Unhandled rejection TypeError: /var/www/hexo/themes/hexo-theme-material/layout/index.ejs:3
1| <!-- Index Module -->
2| <div class="demo-blog__posts mdl-grid">
>> 3| <%- partial("_partial/daily_pic") %>
4| <%- partial("_partial/blog_info") %>
5|
6| <% page.posts.each(function(post) { %>
/var/www/hexo/themes/hexo-theme-material/layout/_partial/daily_pic.ejs:5
3|
4| <!-- Pic & Slogan -->
>> 5| <div class="mdl-card__media mdl-color-text--grey-50" style="background-image:url(<%= theme.img.daily_pic %>)">
6| <p class="index-top-block-slogan"><a href="<%= theme.url.logo %>"><%= theme.uiux.slogan %></a></p>
7| </div>
8|
Cannot read property 'daily_pic' of undefined
at eval (eval at <anonymous> (/var/www/hexo/node_modules/ejs/lib/ejs.js:242:14), <anonymous>:30:264)
at eval (eval at <anonymous> (/var/www/hexo/node_modules/ejs/lib/ejs.js:242:14), <anonymous>:30:907)
at /var/www/hexo/node_modules/ejs/lib/ejs.js:255:15
at _compiledSync (/var/www/hexo/node_modules/hexo/lib/theme/view.js:122:20)
at View.renderSync (/var/www/hexo/node_modules/hexo/lib/theme/view.js:50:21)
at Object.partial (/var/www/hexo/node_modules/hexo/lib/plugins/helper/partial.js:42:17)
at Object.wrapper (/var/www/hexo/node_modules/lodash/lodash.js:4921:19)
at eval (eval at <anonymous> (/var/www/hexo/node_modules/ejs/lib/ejs.js:242:14), <anonymous>:30:103)
at eval (eval at <anonymous> (/var/www/hexo/node_modules/ejs/lib/ejs.js:242:14), <anonymous>:36:175)
at /var/www/hexo/node_modules/ejs/lib/ejs.js:255:15
at _compiled (/var/www/hexo/node_modules/hexo/lib/theme/view.js:127:30)
at View.render (/var/www/hexo/node_modules/hexo/lib/theme/view.js:29:15)
at /var/www/hexo/node_modules/hexo/lib/hexo/index.js:387:25
at tryCatcher (/var/www/hexo/node_modules/bluebird/js/release/util.js:16:23)
at /var/www/hexo/node_modules/bluebird/js/release/method.js:15:34
at RouteStream._read (/var/www/hexo/node_modules/hexo/lib/hexo/router.js:134:3)
at RouteStream.Readable.read (_stream_readable.js:348:10)
at resume_ (_stream_readable.js:737:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
请问能否使首页的文章摘要以Markdown格式输出呢?
看着密密麻麻的几排摘要文字好不舒服。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.