ahonn / hexo-theme-even Goto Github PK
View Code? Open in Web Editor NEW:rocket: A super concise theme for Hexo
Home Page: https://ahonn.github.io/hexo-theme-even/
License: MIT License
:rocket: A super concise theme for Hexo
Home Page: https://ahonn.github.io/hexo-theme-even/
License: MIT License
rt, blockquote 的引号好像位置是不是偏了
extends partial/layout include mixins/container include mixins/paginator block title title= config.title block container +home() block pagination +paginator('home')
是我哪里有问题呢?
谢谢提供主题。按照README.md在 source 下创建 tags和about 文件夹,并在该目录下创建 index.md,无法正常显示这两个页面,求解
http://hizoubin.github.io/tags/
http://hizoubin.github.io/about/
已经安装了 hexo-renderer-scss
由于 {{ }}
在 Hexo 解析的时候会当成变量,所以当类似 {{ message }}
这种出现在文章中时,将无法显示。
具体解决方案可以查看 hexo issue 1079
将 {{ }}
以转码后的形式写在文章中,或者使用 raw block
您好post.jade那个文件对于mixins/post有重复调用,分页那个地方应该引mixins/paginator吧
最后感谢您提供的主题~很好看
谢谢菊苣~
希望采纳回复,我自己有时间也去琢磨一下代码。
Firstly, thanks for your great work on this nice theme.
You can reproduce the issue with the following commands:
$ hexo init blog
$ cd blog
$ npm install
$ npm install --save hexo-renderer-jade hexo-renderer-scss hexo-generator-feed hexo-generator-sitemap hexo-browsersync hexo-generator-archive
$ cd themes/
$ git clone https://github.com/ahonn/hexo-theme-even even
$ cd even/
$ cp _config.yml.sample _config.yml
// Change to your theme to `even`
And add the md file to source/_posts
, and run hexo server
to see the generated page:
I'd suspect it is caused by the theme because it didn't happen when I changed to other theme. Could you help to take a look on it? Thanks!
Environment:
hexo: 3.2.2
hexo-cli: 1.0.2
os: Darwin 15.6.0 darwin x64
http_parser: 2.7.0
node: 6.3.0
v8: 5.0.71.52
uv: 1.9.1
zlib: 1.2.8
ares: 1.10.1-DEV
icu: 57.1
modules: 48
openssl: 1.0.2h
设置了多说的id,并且文章和单页的评论设置为true,但是文章下面没有评论框出现。。。
你的主题很不错,风格很简洁,但是好像不支持数学公式,可以考虑加上这个功能吗?
在设置中 无论修改 per_page
为多少都只显示10篇文档,需要在achieves/index 里面做什么修改么?
# Generator-archive
archive_generator:
per_page: 15 # 归档页文章数, 参数为 0 时不分页
yearly: false
monthly: false
daily: false
如题
如题 ,?
http://aimer1124.github.io/tags/Testing/
TAG中显示多行时,日期与标题会被换行
这个我可以把iconfont里的字体共享给你,代码可以看我的,
不过我为了能够方便更新你的,所有的改动在一个版本里,没法发PR
(function() {
var d = document, s = d.createElement('script');
s.src = '//uedsky.disqus.com/embed.js';
s.setAttribute�@���ɘ��k��S����>����>����?���Xɘ��s��>����<����<���8=����ɘ�����A���`;���`;����;����ʘ�����~��� .��� .���H2��� .���ص���h˘����������0����0����0����˘�������
现在 其它正常了,但是hexo server页面底部的输出html类似这种,hexo g的结果没问题
每次刷新下面的乱码内容不一样。
$hexo server然后访问网站的时候报错
依赖的模块都装了
错误:
Unhandled rejection TypeError: /Users/jojoting/jojoblog/themes/hexo-theme-even/layout/partial/header.jade:7
5| //- Navbar
6| ul.nav
7| each link, name in theme.menu
8| li.nav-link
9| if is_home() && name == "Home"
10| a.active(href=link)
Cannot read property 'length' of undefined
at eval (eval at (/Users/jojoting/jojoblog/node_modules/hexo-renderer-jade/node_modules/jade/lib/index.js:218:8), :727:31)
at eval (eval at (/Users/jojoting/jojoblog/node_modules/hexo-renderer-jade/node_modules/jade/lib/index.js:218:8), :930:4)
at eval (eval at (/Users/jojoting/jojoblog/node_modules/hexo-renderer-jade/node_modules/jade/lib/index.js:218:8), :1162:22)
at res (/Users/jojoting/jojoblog/node_modules/hexo-renderer-jade/node_modules/jade/lib/index.js:219:38)
at _compiled (/Users/jojoting/jojoblog/node_modules/hexo/lib/theme/view.js:127:30)
at View.render (/Users/jojoting/jojoblog/node_modules/hexo/lib/theme/view.js:29:15)
at /Users/jojoting/jojoblog/node_modules/hexo/lib/hexo/index.js:387:25
at tryCatcher (/Users/jojoting/jojoblog/node_modules/hexo/node_modules/bluebird/js/release/util.js:16:23)
at /Users/jojoting/jojoblog/node_modules/hexo/node_modules/bluebird/js/release/method.js:15:34
at RouteStream._read (/Users/jojoting/jojoblog/node_modules/hexo/lib/hexo/router.js:134:3)
at RouteStream.Readable.read (stream_readable.js:328:10)
at resume (_stream_readable.js:708:12)
at doNTCallback2 (node.js:429:9)
at process._tickCallback (node.js:343:17)
设置成post显示,这样可以显示文章的TOC,感觉很不错啊
很早之前用的 今天突然更新后所有样式全部失效?
markdown的未排序列表好像没有效果,试了-
, +
,*
都没用。。。
标签页显示“A total of x”,应该改成中文
归档页显示的日期缺少一个“日”字
footer 里这一行的缩进是不是要提前下
- copyright = '©' + year
Would it be possible to add LinkedIn as a social link? The only thing missing is the font. Not sure how those are generated, but here's LinkedIn's brand pack: https://brand.linkedin.com/downloads
extends partial/layout include mixins/container include mixins/paginator block title title= config.title block container +home() block pagination +paginator('home')
extends partial/layout include mixins/container include mixins/paginator block title title= config.title block container +home() block pagination +paginator('home')
为什么我的没有呢
新配置的 hexo
现在主题中不再有 _config.yml
文件,主题配置文件的模板为 _config.yml.sample
。
第一次使用该主题时需要手动创建 _config.yml
并将 _config.yml.sample
中的内容复制其中再根据个人需要修改。
git pull
更新主题时无需再进行重新的配置,但是此次更新依旧需要事先备份原有的 _config.yml
(会重命名为 _config.yml.sample
并修改内容)。之后的 update 都不会再修改 _config.yml
文件,可直接更新使用。
top: 6px
的样式在 safari 上对不齐post-time tag
这个样式宽度不够我用了网上的方法 还是不行。
您好~我想问下,我修改您的about.jade文件,为啥没有变化呢,其他所有的文件都可以。。。。
我用不同的电脑看,字体是不一样的,有没有什么办法统一字体。
根据自己需要,可能需要修改一些css样式。source/css/_setting.scss可以被用来overwrite默认设置吗?(例如$global-body-width)希望可以在style.scss里面import setting这个设置文件,方便用户自定义css样式呀。
meta(name="description", contebt= config.description)
这里应该是 content
吧
我仿照您tags页面的增加方法
编辑categories/index.md中,增加"layout: categories"
没有任何效果,请问是否可以增加categories
标签页统计的标签数与实际的标签数不符,实际只有2个标签,显示“A total of 4”
你的主题挺好看的,想问一下怎么添加StackOverflow
当我这样设置且文章内不添加时,只会显示阅读全文..
,不知道是不是缺省值设定,如果是的话,这样太奇怪了,不行实现想要的效果
Hi,
I'm a true fan of your theme, it's clear and looks really great on any support.
However I have one missing feature, Fancybox support. It would be great if your theme supports jquery fancybox to render great galleries and images.
I will try to implement that feature and open a pull request if I managed to implement fancybox.
Have a good day,
Hi there! Nice work with the theme.
When I click on an article's link in the archive page, all the images in the respective posts are shown properly. However, the same posts that are partially displayed on the home page, have all the images not showing at all. Any idea on how to correctly display images on the home page as well? I suspect is a path issue.
Oh... I forgot to mention that I changed post_asset_folder: true
Thanks!
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.