wuchong / jacman Goto Github PK
View Code? Open in Web Editor NEWJacman is a fresh looking and responsive theme for Hexo with more features based on Pacman.
License: MIT License
Jacman is a fresh looking and responsive theme for Hexo with more features based on Pacman.
License: MIT License
在pc上评论不显示 但是在pad和iphone上可以显示 目录也是这样 这是什么问题
小白又来打扰repo主人了...
如何使用 Jacman 主题这个教程的首页显示模式 Index 这一条目中
摘要截取是不是应该改成使用。
about_dir: about
in the url block.
and create a new folder in soruce named about.
Then create a index.md in about folder.
我自己搜索一天, pacman用的是手写体Architect’s Daughter这个字体显示blog的名字以及版权信息的文字, 我想换个工整一点的字体.
就以我的为例
设置了g+的ID之后,文章的“作者链接”点进去就是g+的页面,但是很奇怪我的显示的是404
(1)https://plus.google.com/115880271286802330000?rel=author?rel=author
但是这个链接是可以正常访问的
(2)https://plus.google.com/115880271286802328613/posts
而wuchong你的作者链接,也是(1)这么显示的,但是点击之后会跳转到(2),所以可以正常访问
不知道是我的问题还是怎么回事
另外,觉得这种设置不是很合理,还是改成访问about页面最好
跟页面底部的作者那个链接一致,想看g+的可以直接访问页面底部的g+图标
很抱歉我不会改代码,只好提提建议了
gh-pages中的index.html是怎么生成的
我的只能进入每个文章,文章的url都是日期+题目那种
我知道首页对应的是index.html,这个是得自己手写吗?
不好意思,又打扰了,
现在发帖时间显示的是日期,
请问如何更改模板发帖的时候能显示完整时间,精确到小时分钟
非常感谢
直接使用#,会导致该字符及以后内容消失。
比如
title: Codeforces Beta Round #72
会变成
title: Codeforces Beta Round
如果加上反斜杠转义,会变成
title: Codeforces Beta Round \#72
何以教我?
豆瓣秀启用的情况下,书籍可以正常显示,但是电影不能显示
http://xuanwo.github.io/2014/06/04/Sublime-Text-3/#Package_Control
不管是用Tab缩进还是反引号都会这样,请问应该如何配置?
在文章中使用这两种风格的代码块,代码块的背景等这些显示都不同,而且相差特别大,举个例子缩进代码块是灰色背景,而围栏代码块即```围着的代码块,背景是纯黑的,建议统一一下,。
在这里写就是统一的
Fenced code blocks:使用```
class TextQuery {
plubic:
using LineNo = vector<string>::size_type;
TextQuery(std::ifstream &);
QueryResult query(const string&) const;
private:
shared_ptr<vector<string>> input;
std::map<string, shared_ptr<std::set<LineNo>> result;
};
Indented code blocks:使用缩进
class TextQuery {
plubic:
using LineNo = vector<string>::size_type;
TextQuery(std::ifstream &);
QueryResult query(const string&) const;
private:
shared_ptr<vector<string>> input;
std::map<string, shared_ptr<std::set<LineNo>> result;
};
谷歌搜索速度慢,百度的又不支持直接用github地址,我只好用了tinysou做页面搜索。。。
有个swiftype做的很好,跟tinysou很相似,甚至比tinysou更好用,只不过是英文的。。
我发现tinysou有个问题。。就是在弹出搜索结果后,它会改变当前页面的url,这时候如果刷新页面,就又会弹出搜索结果,很不爽。。。swiftype就不会这样😊
其实我原本想把tinysou改成在新页面显示结果,但是搞了好久也弄不好。。
所以总结起来就是两个需求∶
<meta name="description">
会生成两次
我修改了_base/code.styl 然后重新 hexo clean && hexo d -g 没有变化啊
我下载了此主题生成站点后,算是正常,但所有的代码块都是白底黑字没有样式。看DEMO的代码块是黑底彩字很漂亮,这个是要自己额外添加高亮模块吗?
由于在Hexo2.8+中对 util.highlight
文件进行了修改,导致现在大部分主题都存在代码前后多出空行的问题。详见issue hexojs/hexo#774 hexojs/hexo#792 hexojs/hexo#795 。
虽然目前已经有 fix 了,但是目测还不稳定,推荐大家暂时先用 2.7.1 版本。我也会持续跟踪这个bug,并反馈到这个 issue 下。
可以使用以下命令更换版本
npm uninstall hexo
npm install [email protected] -g
2014-9-30 update
e182a05 commit修复了该问题,大家可以更新到hexo最新版和jacman最新版尝试使用。
我直接把totop相关的都删了,不知道怎么改
this is the issue.
hexojs/hexo#1059 (comment)
do you have any idea?
其他信息:
浏览器版本: Google Chrome 35.0.1916.153
屏幕分辨率: 1366X768
在首页中,文章中的mathjax公式都显示不出来,请问是我设置不对么还是什么原因呢。
我只要在主题目录的_config.yml中一修改作者介绍的那两句话,“Hello, I am Larry Page in Google.”和下面的那一行,在执行hexo generate的时候就会出错,提示如下:
[error] { name: 'HexoError',
reason: 'deficient indentation',
mark:
{ name: null,
buffer: '##### Menu\nmenu:\n Home: /\n Archives: /archives\n About: /about\n History: /history\n## you can create tags
and categories
folders in ../source
.\n## And create a index.md
file in each of them.\n## set front-matter
as\n## layout: tags (or categories)\n## title: tags (or categories)\n## ---\n\n#### Widgets\nwidgets: \n- category\n- tag\n- links\n- rss\n## provide seven widgets:category,tag,rss,archive,tagcloud,links,weibo\n\n\n#### RSS \nrss: /atom.xml ## RSS address.\n\n#### Image\nimglogo:\n enable: true ## display image logo true/false.\n src: img/logo.png ## .svg
and .png
are recommended,please put image into the theme folder /jacman/source/img
.\nfavicon: img/favicon.ico ## size:32px_32px,.ico
is recommended,please put image into the theme folder /jacman/source/img
. \napple_icon: img/jacman.jpg ## size:114px_114px,please put image into the theme folder /jacman/source/img
.\nauthor_img: img/author.jpg ## size:220px*220px.display author avatar picture.if don't want to display,please don't set this.\n\n#### index post is expanding or not \nindex:\n expand: true ## default is unexpanding,so you can only see the short description of each post.\n excerpt_link: Read More \n \n#### Author information\nauthor:\n intro_line1: "Hello, I am Butcher.”\n intro_line2: “Welcome to my blog, enjoy it.”\n weibo: ## e.g. wuchong1014 or 2176287895 for http://weibo.com/2176287895\n weibo_verifier: ## e.g. b3593ceb Your weibo-show widget verifier ,if you use weibo-show it is needed.\n tsina: ## e.g. 2176287895 Your weibo ID,It will be used in share button.\n douban: ## e.g. wuchong1014 or your id for https://www.douban.com/people/wuchong1014\n zhihu: ## e.g. jark for http://www.zhihu.com/people/jark\n email: [email protected] ## e.g. [email protected]\n twitter: homyung ## e.g. jarkwu for https://twitter.com/jarkwu\n github: tufu9441 ## e.g. wuchong for https://github.com/wuchong\n facebook: ## e.g. imjark for https://facebook.com/imjark\n linkedin: ## e.g. wuchong1014 for https://www.linkedin.com/in/wuchong1014\n google_plus: ## e.g. "111190881341800841449" for https://plus.google.com/u/0/111190881341800841449, the "" is needed!\n stackoverflow: ## e.g. 3222790 for http://stackoverflow.com/users/3222790/jark\n## if you set them, the corresponding share button will show on the footer\n\n#### Toc\ntoc:\n article: false ## show contents in article.\n aside: false ## show contents in aside.\n## you can set both of the value to true of neither of them.\n## if you don't want display contents in a specified post,you can modify front-matter
and add toc: false
.\n\n#### Links\nlinks:\n 冲田杏梨: http://anri-okita.tumblr.com\n 羽中漫步: http://www.jzwalk.com\n 灰常记忆: http://bestcherish.com\n 怡红院落: http://imnerd.org\n 生活志: http://louishan.com\n 浩子: http://haozer.com\n 雅岚文艺博客: http://www.yalanbooks.net\n Sloger's Blog: http://blog.sloger.info\n\n \n\n#### Comment\nduoshuo_shortname: ## e.g. wuchong your duoshuo short name.\ndisqus_shortname: ## e.g. wuchong your disqus short name.\n\n#### Share button\njiathis:\n enable: false ## if you use jiathis as your share tool,the built-in share tool won't be display.\n id: ## e.g. 1889330 your jiathis ID. \n tsina: ## e.g. 2176287895 Your weibo id,It will be used in share button.\n \n#### Analytics\ngoogle_analytics:\n enable: false\n id: ## e.g. UA-46321946-2 your google analytics ID.\n site: ## e.g. wuchong.me your google analytics site or set the value as auto.\n## You MUST upgrade to Universal Analytics first!\n## https://developers.google.com/analytics/devguides/collection/upgrade/?hl=zh_CN\nbaidu_tongji:\n enable: false\n sitecode: ## e.g. e6d1f421bbc9962127a50488f9ed37d1 your baidu tongji site code\ncnzz_tongji:\n enable: false\n siteid: ## e.g. 1253575964 your cnzz tongji site id\n\n#### Miscellaneous\nShowCustomFont: true ## you can change custom font in variable.styl
and font.styl
which in the theme folder /jacman/source/css
.\nfancybox: true ## if you use gallery post or want use fancybox please set the value to true.\ntotop: true ## if you want to scroll to top in every post set the value to true\n\n\n#### Custom Search\ngoogle_cse: \n enable: false\n cx: ## e.g. 018294693190868310296:abnhpuysycw your Custom Search ID.\n## https://www.google.com/cse/ \n## To enable the custom search You must create a "search" folder in '/source' and a "index.md" file\n## set the 'front-matter' as\n## layout: search \n## title: search\n## ---\nbaidu_search: ## http://zn.baidu.com/\n enable: false\n id: ## e.g. "783281470518440642" for your baidu search id\n site: http://zhannei.baidu.com/cse/search ## your can change to your site instead of the default site\n\u0000',
position: 1292,
line: 41,
column: 2 },
message: 'Process failed: _config.yml',
domain:
{ domain: null,
_events: { error: [Function] },
_maxListeners: 10,
members: [ [Object] ] },
domainThrown: true,
stack: undefined }
经过反复试验,我确定只要修改了这里就会出现这种状况,把那两句话恢复原状后回到正常。
我很喜欢Yilia主题的文章加载的那个动画效果,不知道你能不能加在jacman主题中呢
另外,请问如何换字体呢
新的fix用过了,感谢
不过还遗留了一个问题,就是页面底部的作者链接并没有加上子目录前缀,会跳转到主站的about
在没设置G+的情况下,文章里的作者链接也是
没有找到开启行号的地方 貌似是默认开启的 但是没有显示。
在首页,站点名及文章标题都是h1标签,似乎不是很合适
假如一个标签“Java”下有50个文章,现在想对这50篇文章进行再分类,这里需要对标签“Java”重命名,还需要移动文章到新建的标签下。
有什么方便的办法么,除了依次对这50个文章的md文件进行修改。
有网友向我反馈,希望在右下角的社交按钮处添加一个微信按钮,点开会弹出微信二维码。
有多少人需要这个功能呢?
比如
1.first
我想将右边的侧边栏默认设置成是关闭的?就是打开的时候看不到右边的侧边栏信息,点击以后就可以看到? 纠结啊,试了好多次。。。
按照jacman介绍的安装使用,发现totop图片都放在文件夹内,就是出不来效果,没有图片在网站显示,求解决,谢谢!
我在配置文件里面设置了 google analysis ,但是没有js标签。 后来发现head.ejs里面没有加入这段js,请问下是什么原因。
“简书”在国内喜欢用 Markdown 写作的群体中已经挺流行的了。
使用hexo写作博客的估计不少在简书有账号。
能否考虑加上?
jacman.jpg是png格式的,logo.png是ico!~
h = $('article h2')
ah = $('article h2'),
两个都一样的不科学啊,下面应该是h3吧,我文章内容没有加h2标题都是h3的然后生成的目录被隐藏掉了
能否在配置文件中增加一个 版权声明 的部分?类似设置 Creative Commons 协议
一行前面加四个空格会变成代码框,但在jacman里多了会溢出
hello world!
在code.styl里加下面这句overflow auto
就好了
$code-block
background highlight-background
margin 0.5em 0
padding 1em 2%
overflow auto
color highlight-foreground
line-height line-height
font-size font-size
另外
代码框在手机端很小,个人感觉pacman的处理比较好
Beginning from today, I decide to use branch dev
. And I will add new features and fix problems in the dev
branch first. If they are stable, I will merge them to master
.
So if you are focus the newest modifications of jacman, please focus dev
.
我的首页每一篇文章下面都显示“暂无评论”,或者连“暂无评论”四个字都没有,只有那个灰色的评论小图标,但是实际上每一篇文章进去以后都是有多说评论的,不知道该如何解决?我的网站是http://haomwei.com
你好!
发现了个问题。当博客目录下的_config.vml中的语言为空时,此时应该为英语,但是archive页面中的左边部分,日期显示仍然为中文。
希望解决下!
谢谢!
请问如何在页面底部加上网站备案号呢,以正常小字体显示,带链接到备案查询网站
看how-to是在主题根目录的_config.yml中启用
#### 评论
duoshuo_shortname: xxxxx
disqus_shortname:
添加了,但是并没有启用多说,不知道问题出在什么地方。
手机端预览该主题,主题所创建的菜单丢失....望修复!!
貌似pacman里有search.ejs了。
为什么加了weibo_verifier和 tsina之后仍没有显示微博秀,我的博客在ralphadu.com
能够重新设计一下网站统计在页面中的显示?
比如,把网站统计与footer合并
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.