raytaylorlin / hexo-theme-raytaylorism Goto Github PK
View Code? Open in Web Editor NEW一款Material Design风格的hexo主题
License: MIT License
一款Material Design风格的hexo主题
License: MIT License
能写个小包入门使用你这个主题的教程不?
不胜感激
换了主题以后,原来的评论不见了=。=
建议作者加上文章阅读量
請問,是否可以在 hexo-theme-raytaylorism 裡增加支援如以下連結所提供的 Local Search Engine 呢?
jQuery-based Local Search Engine for Hexo
P.S. 我有嘗試著如該文章內容實作,確定它所提供的程式碼是可以運行的。唯須 theme 配合。
基本上该说明的都在文档里面详细说明了,仔细阅读下文档一般可以解决你的问题。如果是文档里面没说的或者说不明白的,可在底下直接回帖反馈。
**博客主题是个性化非常强的东西,每个人都有自己的审美,本主题也是按照我自己个人喜好来设计,因此试用过后如果发现不喜欢不想用,完全没关系,测试主题完全来去自由,hexo也还有一大堆其他的主题可选。**总之,主题的UI风格基本上不会再有大改动,后续将会持续新功能的开发和bug的修复。当然,如果你喜欢我的主题并愿意用到你自己的博客里,我将感到非常荣幸,我们可以携手将本主题建设得更好。
使用过程中有任何使用问题、bug、改进意见、功能请求、文档疏漏等等,都可以在这底下回帖反馈。
prettify-tomorrow-night-eighties.css
主题),参见文档-插件-代码语法高亮包括但不限于以下几点:
我在_config.yml添加了
archive_generator:
per_page: 0
tag_generator:
per_page: 0
category_generator:
per_page: 0
这些代码后,在本地浏览正常分页,上传后,打开网站没有分页,文章显示不全,
删除这些代码,在上传后,就正常了
个人建议:能否在分类目录栏加上类似树状结构的线条,现在看起来虽然有分级的感觉,但是不够直观,也不够美观=。=
我已经把关于和读书页面关闭了,但是搜索还是会搜索读书页面,怎么关闭他?
当文章内标题很多的时候,toc越界并且显示不全
比如说:
http://raytaylorlin.com/tech/game/engine/resources-and-file-system/
确定了markdown语法没问题,在其它主题上解析正常。代码一遇到//注释后面代码就不显示高亮,然后还有代码开始和结尾会显示好几行空行,麻烦作者帮忙看下,地址是:https://jiangyixuan.github.io/2016/08/08/java%20List%E9%9B%86%E5%90%88%EF%BC%88ArrayList%EF%BC%8CLinkedList%EF%BC%8CVertor%EF%BC%8CStack%EF%BC%89/
没有discuss,我就开个issue了
由于Materialize的问题,toc中含unicode字符就会无法点击滚动(估计是他们没想着会有中日韩等语言的使用者)
这么修:
在materialize.min.js(目前项目使用的版本v0.97.6)中
替换
a('a[href="#'+a(c).attr("id")+'"]').click(function(b){b.preventDefault();var c=a(this.hash).offset().top+1
为
a('a[href="#'+a(c).attr("id")+'"]').click(function(b){b.preventDefault();var c=a(decodeURIComponent(this.hash)).offset().top+1
效果参见 https://word.donot.help/p/2016-06-14-talk-about-this-blog.html
如题。在点击"categories"后在各个分类的后面是"1 篇"等,并未使用英文。
拜访了贵博,颇为中意,就是首页似乎默认只输出摘要,且全无图片。
已经按照说明把 _data 和 _md 复制到 source 目录下了,关于和读书页面依然 404
在搜索框里搜索关键字只能出来关联的字,不出来文章
我想修改 page页和 文章阅读的宽度大小。感觉现在的页面太窄了。 请问能否告知是在哪个文件中修改?
请问是否能将右下角的悬浮按钮,里面的第二个按钮(侧滑栏按钮),移到标题栏左上角位置呢?这样就能跟Android常用功能保持一致,而且右下角只放一个一级按钮(回到顶部按钮)会比较好,二级菜单感觉操作比较烦琐。
H:\hexo\hexo>hexo deploy -g
[info] Files loaded in 0.090s
[error] HexoError: Render failed: index.html
TypeError: H:\hexo\hexo\themes\raytaylorism\layout\index.ejs:80
78|
79|
80| <%- partial('_partial/feature_guide') %>
81|
H:\hexo\hexo\themes\raytaylorism\layout_partial\feature_guide.ejs:53
51| var
52| //新功能特征值,以此识别一个功能点
53| FEATURE_CODE = '<%= config.new_feature_guide.hash_code %
',
54| //新功能高亮提醒的jQuery查询字符串
55| FEATURE_DOM = $('<%= config.new_feature_guide.query_stri
ng %>'),
56| //新功能描述
Cannot read property 'hash_code' of undefined
at eval (eval at (C:\Users\rd_bruce_sha\AppData\Roaming\npm\node
_modules\hexo\node_modules\ejs\lib\ejs.js:236:14), :29:2324)
at eval (eval at (C:\Users\rd_bruce_sha\AppData\Roaming\npm\node
_modules\hexo\node_modules\ejs\lib\ejs.js:236:14), :29:6059)
at C:\Users\rd_bruce_sha\AppData\Roaming\npm\node_modules\hexo\node_modules
ejs\lib\ejs.js:249:15
at Object.exports.render (C:\Users\rd_bruce_sha\AppData\Roaming\npm\node_mod
ules\hexo\node_modules\ejs\lib\ejs.js:287:13)
at Object.module.exports [as ejs](C:Usersrd_bruce_shaAppDataRoamingnpm
node_moduleshexolibpluginsrendererejs.js:5:14)
at Object.exports.renderSync (C:\Users\rd_bruce_sha\AppData\Roaming\npm\node
_modules\hexo\lib\render.js:143:29)
at render (C:\Users\rd_bruce_sha\AppData\Roaming\npm\node_modules\hexo\lib\p
lugins\helper\partial.js:28:22)
at Object.module.exports [as partial](C:Usersrd_bruce_shaAppDataRoaming
npmnode_moduleshexolibpluginshelperpartial.js:41:12)
at eval (eval at (C:\Users\rd_bruce_sha\AppData\Roaming\npm\node
_modules\hexo\node_modules\ejs\lib\ejs.js:236:14), :29:3075)
at eval (eval at (C:\Users\rd_bruce_sha\AppData\Roaming\npm\node
_modules\hexo\node_modules\ejs\lib\ejs.js:236:14), :29:3121)
hey,可否考虑一下把网站接入Google广告,能不能告诉我怎么实现?
在用markdown写文章的时候,比如标题“# 标题”,井号与标题名称之间必须空格,不空格无法识别标题。还有,使用表格的时候,有时候也无法识别
错误信息如下:
debug] 15:25:42.624 Render tag: tags/blog/
[error] 15:25:42.693 HexoError: Render failed: archives/index.html
ReferenceError: c:\github_blog\themes\raytaylorism\layout\archive.ejs:1
1| <%- partial('_partial/archive', {pagination: config.archive}) %>
c:\github_blog\themes\raytaylorism\layout_partial\archive.ejs:23
21| <% } else { %>
22|
23| <% for (var i = 0, len = years.length; i < len; i++) { %>
24|
years is not defined
at eval (eval at (c:\Users\Hongbin\AppData\Roaming\npm\node_modules\hexo\node_modules\ejs\lib\ejs.js:237:14), :40:666)
at eval (eval at (c:\Users\Hongbin\AppData\Roaming\npm\node_modules\hexo\node_modules\ejs\lib\ejs.js:237:14), :40:1253)
at c:\Users\Hongbin\AppData\Roaming\npm\node_modules\hexo\node_modules\ejs\lib\ejs.js:250:15
at Object.exports.render (c:\Users\Hongbin\AppData\Roaming\npm\node_modules\hexo\node_modules\ejs\lib\ejs.js:288:13)
at module.exports (c:\Users\Hongbin\AppData\Roaming\npm\node_modules\hexo\lib\plugins\renderer\ejs.js:5:14)
at Object.exports.renderSync (c:\Users\Hongbin\AppData\Roaming\npm\node_modules\hexo\lib\core\render.js:131:12)
at render (c:\Users\Hongbin\AppData\Roaming\npm\node_modules\hexo\lib\plugins\helper\partial.js:28:22)
at Object.module.exports as partial
at eval (eval at (c:\Users\Hongbin\AppData\Roaming\npm\node_modules\hexo\node_modules\ejs\lib\ejs.js:237:14), :29:35)
at eval (eval at (c:\Users\Hongbin\AppData\Roaming\npm\node_modules\hexo\node_modules\ejs\lib\ejs.js:237:14), :29:103)
你好,我按照readme里面说的,比如 我不需要about页面中打赏的图片,我把about.json里面reward的字段改写成"reward":null,可是改了之后about页面就不能正常打开了。有一些页面也是。。我感觉自己没有操作错误啊。
请问如何将模板中的“首页”、“分类”等标签的语言改为英文?
_config.yml
配置文件中的widgets
能启用吗?blogrolls
这个设置了 ,在哪来看可以看到啊?首先我确认了我的语法是绝对无误的。但是代码长度达到一定行数以后(10)代码框的行号那一栏比代码栏要长一截。
感谢作者提供的这么好的主题。使用过程中有如下问题和建议:
建议:
点击搜索后自动把焦点移动到输入框,这样就不用点击两次了
问题:
1,搜索无效,已经安装和配置,也有 search.xml 文件。
2,社交平台图标使用 http://fontawesome.io/icon/instagram/ 不显示
Hi,请教一个问题,能否把文章的正文宽度调节得更宽一点,我感觉这个宽度太窄了
目录分类怎么弄?
你好,当我测试这一主题的时候,发现首页以及归档页生成的文章链接出现了问题,即http://后面直接跟上了相对路径,缺少了域名部分。原本应该是http://domain.com/date/post.html,变成了http:///date/post.html。我换回默认的landscape主题,没有这一问题。
我查看了一下对应的几个模版文件,发现官方生成链接时使用的函数是<%- url_for(post.path) %>,而这一主题用的是<%- config.root %><%- item.path %>,当我把后者都改成<%- url_for(item.path) %>时问题就解决了。
我总结出的原因是:由于默认config.root是根目录‘/’,这样原代码会在原有相对路径前又加上了‘/',导致网站不能正确生成文章路径。不知我的分析是否正确,还请多指教。
语法高亮的主题在手机上显示比较乱,上面是数字,下面是代码,但是用手机看你的博客没有这个问题,不知道是不是我配置错误
怎么设置 分类?
有个非常奇怪的bug:
就是使用了这个主题后page.excerpt返回的false,即首页没有摘要,也不显示READ MORE
_config.yml 設定 language 為 zh-tw 但顯示還是 zh-ch
非常喜欢这个主题,可否考虑适配下 Typcho
有意向支持吗
作者你好,麻烦请问下markdown显示表格不正常,在本地和有道云笔记都不会出现问题,文章地址:https://jiangyixuan.github.io/2016/08/28/java%20LinkedList%E5%AE%9E%E7%8E%B0%E5%8E%9F%E7%90%86/
markdown地址:https://github.com/jiangyixuan/jiangyixuan.github.io/blob/master/other/java%20LinkedList%E5%AE%9E%E7%8E%B0%E5%8E%9F%E7%90%86.md
能不能弄个备案号的添加
你好,我用你主题发表文章后,在手机浏览时,打开文章,在有代码的地方,行号单独占了一块,代码又单独占了一块,应该是代码插件的原因,我能力有限,改不了,希望你能解决一下,拜谢。
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.