yscoder / hexo-theme-indigo Goto Github PK
View Code? Open in Web Editor NEW一个Material Design风格的Hexo主题。 https://imys.net/ 备用:
Home Page: https://yscoder.github.io/
License: The Unlicense
一个Material Design风格的Hexo主题。 https://imys.net/ 备用:
Home Page: https://yscoder.github.io/
License: The Unlicense
配置文件分享修改为false之后菜单水波效果消失,水波效果和分享直接关联了, 建议分开, 即使关闭分享功能, 菜单的水波效果仍然生效
[步骤]
1.分享博客链接到微信
2.微信用户打开该链接,点击显示侧边栏按钮
[结果]
侧边栏显示后即刻关闭,无法固定显示
[期望]
可固定显示侧边栏,在点击关闭后,侧边栏方关闭
github等很多图标在PC端无法显示
还有一个问题:写post时候如何设置tag?
比如点开一篇文章:http://www.imys.net/20160316/use-history-pushState.html
这时候再点击头像,会404。
输入以下命令时报错
$ hexo g
INFO Start processing
ERROR Process failed: layout/archive.ejs
TypeError: Cannot read property 'compile' of undefined
暂时解决方案:_config.yml中不配置插件依赖
原始参考:Maybe there's something wrong with your _config.yml? Could you post the _config.yml if you don't mind?
不知此解决方案是否可彻底解决而不引入新的问题~~
除了默认的Home\Archive\Tags\GitHub\Weibo\Link菜单项,我想要自定义增加额外的菜单项。
我在_config.yml里menu下新增了,但是没有左侧的小logo,请问在哪里可以配置?
Can Color theme be changed from indigo to other, such as blue or teal ?
<%- mail_to(config.email, config.email, {class: 'mail'}) %>
改成<%- mail_to(config.email, theme.email, {class: 'mail'}) %>
,因为某些用户的博客配置文件没有email这个配置项目;hexo new page tags
创建一个新页面并且将页面类型设置为tages,如:--- title: tags date: 2016-01-30 13:01:19 type: "tags" ---
感谢您的主题,很赞。
在page中添加了tags后会出现
page内容
---
title: 扫描线
date: 2016-04-30 11:32:04
tags: [fav]
---
<http://openinx.github.io/2013/01/01/plane-sweep-thinking/>
错误信息
Unhandled rejection TypeError: C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\themes\indigo\layout\layout.ejs:1
>> 1| <%- partial('_partial/head') %>
2| <body>
3| <%- partial('_partial/loading') %>
4| <nav id="menu" <% if(is_post() && theme.hideMenu){ %>class="hide"<% } %> >
C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\themes\indigo\layout\_partial\head.ejs:24
22| <title><% if (title){ %><%= title %> | <% } %><%= config.title %> | <%= config.subtitle %></title>
23| <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
>> 24| <%
25| var keyWords = config.keywords;
26| if(page.tags){
27| keyWords = [];
page.tags.each is not a function
at eval (eval at <anonymous> (C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:50:17)
at eval (eval at <anonymous> (C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:54:745)
at C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:255:15
at Object.exports.render (C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:293:13)
at Hexo.ejsRenderer (C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo-renderer-ejs\lib\renderer.js:7:14)
at Render.renderSync (C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo\lib\hexo\render.js:87:23)
at View.renderSync (C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo\lib\theme\view.js:50:29)
at Object.partial (C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo\lib\plugins\helper\partial.js:42:19)
at eval (eval at <anonymous> (C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:35)
at eval (eval at <anonymous> (C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:661)
at C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:255:15
at Object.exports.render (C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:293:13)
at Hexo.ejsRenderer (C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo-renderer-ejs\lib\renderer.js:7:14)
at Hexo.tryCatcher (C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo\node_modules\bluebird\js\main\util.js:26:23)
at Hexo.<anonymous> (C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo\node_modules\bluebird\js\main\method.js:15:34)
at C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo\lib\hexo\render.js:51:21
at tryCatcher (C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo\node_modules\bluebird\js\main\util.js:26:23)
at Promise._settlePromiseFromHandler (C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo\node_modules\bluebird\js\main\promise.js:507:31)
at Promise._settlePromiseAt (C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo\node_modules\bluebird\js\main\promise.js:581:18)
at Promise._settlePromiseAtPostResolution (C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo\node_modules\bluebird\js\main\promise.js:245:10)
at Async._drainQueue (C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo\node_modules\bluebird\js\main\async.js:128:12)
at Async._drainQueues (C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo\node_modules\bluebird\js\main\async.js:133:10)
at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\egwcy\Google 云端硬盘\cjsoft.github.io\node_modules\hexo\node_modules\bluebird\js\main\async.js:15:14)
at processImmediate [as _immediateCallback] (timers.js:383:17)
使用hexo 3.1.1,nodejs版本v4.2.2
是否可以增加支持百度统计、腾讯分析,站内搜索功能
你好,问一下,我在配置里默认开启search,但站内搜索还是没有反应,望大神指点一下。
问个无关的问题:
多说评论怎么显示?
配置中duoshuo:duoshuo-key这一行的duoshuo-key是什么?
域名
cuixiaochen.duoshuo.com
密钥
766358c07f7a97a7898a08eca2f1d993
loadData(function(data) {
var result = data.filter(function(post) {
return matcher(post, regExp);
});
render(result);
Control.show();
});
error:
Uncaught TypeError: data.filter is not a function
如题
我是用org-mode编写的文档, 然后导出为html,可是标题显示no title
这是网站地址
Hello,Thank you very much topics.
But I found the style file path dose not use the time,
I configure it follow your introduce,
could you tell me how to modify it?
Hi
when i use this theme i get no css served in public folder. Error is:
Failed to load resource: the server responded with a status of 404 (Not Found)
Css works when i use hexo server command but not in public folder when i put on my server. I do not have this issue with default hexo theme landscape. How can i resolve this? I really like this theme and would like to use it.
thnx
Luka
1.测试环境iOS9.3.1,Safari直接打开没问题,微信微博等应用浏览会闪退,并且界面跳回主页。
2.Mac(10.11.4) Chrome(v49)不显示menu中 github的图标,其它浏览器正常。
同这个issue追加内容, #5
文章如何添加多个标签
有两种多标签格式
tags: [a, b, c]
或
tags:
这个没说编辑哪个文件啊?有点蒙圈,试了好几个文件都不行,望指点,谢谢
除了tags之外,其他的间距都是48.58或者是50,但是就是tag是51.44,明显看着和其他文字不在同一垂线上……这个能修复嘛?图片上传不了,可以看下博客的左侧。
非常喜欢这个主题,希望作者能考虑在左侧加入类似Next主题隐藏侧栏和现实侧栏的功能,因为隐藏侧栏以后能够提供更为广阔的阅读空间,给你的Web设计点赞,作为一个前端渣我就只能帮到这里了!
请问一下左边的导航文字如何改成中文的?比如Home改成主页,我加了text: 没用呀
tags文件夹的md已经加了type的
type: "tags"
我已经加了一个标签,但是tag生成的页面没有任何标签,是空白的页面,求大神解答
希望能在menu里增加categories的页面
我使用了你的代码,修改了颜色的配置,然后放了篇markdown写的文章上去,发现主页把所有内容都加载出来,请问怎么修改?
你好,
我配置好之后,发现Home页列出的文章显示了所有内容,而不是只显示一小部分内容。另外,建议在文章详情页中的导航栏再往右边靠一点,使文章有更多的空间显示!
谢谢!
已保存md为UTF-8格式,仍然出现乱码 “知锟叫猴拷一”
archives并不能显示完整的目录
能不能详细点。。或者把你的tags贴出来
如下,博客右侧的目录太长的话,后面的目录就看不到了。而且目录还盖住了评论区
blog
请问一下可以提供一下 content.json 这个文件吗?
增加了Link页,如何自定义页面布局和内容呢?
比如去掉我友情链接页面这个页面右侧的分享,将这个页面布局改成Tag的样子——大标题和链接地址。
求指教~
Hi
I get an error Cannot GET /tags/ when i click tags link in the sidebar. This happens even on clean hexo install with only theme changed from default.
Do i have to change something in _config.yml of your theme or in _config.yml of hexo itself?
Tnx
Have a nice day.
Luka
你好,indigo主题的archive跟tags/**/的分页导航(下一页|上一页)为什么没有生成?
我用Firefox 45.0.2拉到文章底部,没有显示返回顶部的按钮,其他浏览器正常。
1、在内网环境使用hexo,用户没有外网权限,所以不能用swiftype,问下你的json方式,能完全离线使用么?或者能否简要描述下它的工作过程?
2、后续是否考虑引入代码合并压缩等的构建?
运行环境:ubuntu14.04
http://www.cuixiaochen.com/
第四行的bar-chart图标无法显示
在themes/_config文件已经改了duoshuo-key 为什么博客里面还是没有评论框呢?
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.