The github style (primer) for Hexo theme.
https://github.la/hexo-theme-primer
欢迎 Star Fork 。
感谢下面的小伙伴的贡献
The github style (primer) for Hexo theme.
Home Page: http://yumexupanic.github.io/hexo-theme-primer/
The github style (primer) for Hexo theme.
https://github.la/hexo-theme-primer
欢迎 Star Fork 。
感谢下面的小伙伴的贡献
在我博客中Objc高亮是正常的,swift语言的高亮无效。
使用的是目前 master
最新代码。
更新了新主题,也安装了插件,改了两个_config.yml文件,但是本地搜索好像还是和之前谷歌搜索一样
将主题clone下来后,修改yml文件为改主题:
# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: hexo-theme-primer
保存后运行:
hexo server
浏览器请求:http://localhost:4000/
直接控制台报错:
INFO Start processing
INFO Hexo is running at http://localhost:4000/. Press Ctrl+C to stop.
Unhandled rejection TypeError: E:\study\blog.zhao\themes\hexo-theme-primer\layout\lay
out.ejs:1
>> 1| <%- partial('_partial/head') %>
2| <%- body %>
3| <%- partial('_partial/footer') %>
4| <%- partial('_partial/after-footer') %>
E:\study\blog.zhao\themes\hexo-theme-primer\layout\_partial\head.ejs:21
19|
20| <script>
>> 21| var search_path = "<%= config.search.path %>";
22| if (search_path.length == 0) {
23| search_path = "search.xml";
24| }
Cannot read property 'path' of undefined
at eval (eval at <anonymous> (E:\study\blog.zhao\node_modules\hexo-renderer-ejs\n
ode_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:932)
at eval (eval at <anonymous> (E:\study\blog.zhao\node_modules\hexo-renderer-ejs\n
ode_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:1229)
at E:\study\blog.zhao\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:
255:15
at _compiledSync (E:\study\blog.zhao\node_modules\hexo\lib\theme\view.js:122:20)
at View.renderSync (E:\study\blog.zhao\node_modules\hexo\lib\theme\view.js:50:21)
at Object.partial (E:\study\blog.zhao\node_modules\hexo\lib\plugins\helper\partia
l.js:42:17)
at Object.wrapper (E:\study\blog.zhao\node_modules\hexo\node_modules\lodash\lodas
h.js:4994:19)
at eval (eval at <anonymous> (E:\study\blog.zhao\node_modules\hexo-renderer-ejs\n
ode_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:35)
at eval (eval at <anonymous> (E:\study\blog.zhao\node_modules\hexo-renderer-ejs\n
ode_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:222)
at E:\study\blog.zhao\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:
然后切换为hexo自带主题。没有问题。
测试视频(bilibili)
<embed height="415" width="544" quality="high" allowfullscreen="true" type="application/x-shockwave-flash" src="http://static.hdslb.com/miniloader.swf" flashvars="aid=6966278&page=1" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"></embed>
测试视频2(音悦台)
<embed src="http://player.yinyuetai.com/video/player/2721508/v_0.swf" quality="high" width="480" height="334" align="middle" allowScriptAccess="sameDomain" allowfullscreen="true" type="application/x-shockwave-flash"></embed>
测试视频3(优酷)
<embed src='http://player.youku.com/player.php/sid/XMTg2NzY1MTAyNA==/v.swf' allowFullScreen='true' quality='high' width='480' height='400' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash'></embed>
测试视频4(优酷)
<iframe height=498 width=510 src='http://player.youku.com/embed/XMTg2NzY1MTAyNA==' frameborder=0 'allowfullscreen'></iframe>
音乐目前正常播放,难道是我的姿势不对?求作者解答,谢谢。
大爱主题,感谢来源。
请问怎样才能显示出打印机的效果
readme 文件,2.0 升级说明中,更换 icon 为 iconfont 和 otcicons。
我猜你 otcicons 是指 https://octicons.github.com/
用了一下,几点反馈。
最好能配置中英文,这样在英文条件下hexo generate出来的,像“文章目录”,“继续阅读”可以自动匹配成英文
配置了disqus貌似不管用?
我的配置
# Header
menu:
Home: /
Open-Source: open-source/
Blog: blog/
About: about/
# Profile
profile:
location: BeiJing, China
github: xiaopeng163
#stackoverflow:
#title: yumemor
#href: http://stackoverflow.com/users/5662132/yumemor
#organization: test
#Widget
sidebar: true
navfixed: false
#WidgetText
excerpt_link: Continue Reading
github:
popular_repos: ['www.pengxiao.me']
contribute_repos: ['smartbgp/yabgp','smartbgp/yabmp', 'osrg/gobgp']
#Comments
#comments:
# duoshuo_username: yumemor
comments:
disqus_shortname: httpwwwpengxiaome
#Source Code
source_code: https://github.com/xiaopeng163/www.pengxiao.me
disqus 国内会被墙,能否加一个button(点击加载评论),当点击了按钮再去加载disqus模块呢?
这样就不会一直在转圈。
Hi,
link: http://yumemor.github.io/ is not working. Any update where I can see a demo ?
你好,我使用时发现了一个报错
ERROR Process failed: layout/_widget/sidebar-categories
另外我发现好像主题代码高亮没办法用
我的博客地址是www.wxz.name
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.