Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加了新特性:支持设置各页面与每篇博文的封面 #1330

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
0bd953e
Renovated Hexo theme NexTD from NexT, new speciality setting page and…
Dec 27, 2016
7d8037d
Update README.md
Dec 27, 2016
f050025
Fix post render bug in Chrome borwser. Hidden headband element.
Dec 28, 2016
72e4773
Change GitHub username
Dec 29, 2016
6da3590
rename the directory vendors to lib
Dec 29, 2016
d32e2c4
bug fixed for adapting of high-resolution screen.
Jan 4, 2017
fcdebf9
Add theme.post_footer field for many use e.g. post copyright statement.
Jan 19, 2017
a6660f1
Merge branch 'master' into master
BearD01001 Jan 19, 2017
15de2e1
CSS: remove `_full-image.styl` import.
Jan 22, 2017
4d588f7
Add load animition for post header & home button.
Jan 22, 2017
63e06f1
localsearch bug fixed & tiny beauty.
Jan 22, 2017
a3bada3
home button bug fixed.
Jan 22, 2017
b45c82a
menu optimized for mobile device.
Jan 22, 2017
8926bb9
post render size widen in mobile & pad device.
Jan 22, 2017
7448d98
menu optimized for mobile & pad device.
Jan 23, 2017
cea0636
add rss feed.
Feb 13, 2017
b7b1fee
disable duoshuo comments.
BearD01001 May 2, 2017
9b8139d
add gitment comments system.
BearD01001 May 2, 2017
fc52d46
change repository link
BearD01001 May 18, 2017
a38dd27
change email address
BearD01001 May 18, 2017
1aab99d
link gitment through https
BearD01001 May 19, 2017
24f1a58
fixed busuanzi align issue #2
Jun 17, 2017
073e0c7
Update README.md
Jun 30, 2017
72a8073
JiaThis share plugin removed due to no script under SSL provided.
BearD01001 Sep 19, 2017
450bcb5
JiaThis share plugin removed due to no script under SSL provided.
BearD01001 Sep 19, 2017
a796bee
Youyan comment plugin removed due to no script under SSL provided.
BearD01001 Sep 19, 2017
c4ac8ab
fixed gitment duplicate initialized render cause of hash #more
BearD01001 Oct 19, 2017
7e65d8a
optimized stylesheet for gitment plugin
BearD01001 Oct 19, 2017
1b0d82c
Fixed gitment errror: Validation Failed
BearD01001 Mar 10, 2018
fc3448e
Update README.md
BearD01001 Jun 10, 2019
a091187
Change the domain name of blog
BearD01001 Jun 10, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .bowerrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"directory": "source/lib"
}
"directory": "source/vendors"
}
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
node_modules/

# Ignore unused verdors' files
source/lib/fancybox/*
!source/lib/fancybox/source/
source/vendors/fancybox/*
!source/vendors/fancybox/source/

source/lib/font-awesome/less/
source/lib/font-awesome/scss/
source/vendors/font-awesome/less/
source/vendors/font-awesome/scss/

source/lib/ua-parser-js/*
!source/lib/ua-parser-js/dist/
source/vendors/ua-parser-js/*
!source/vendors/ua-parser-js/dist/
1 change: 0 additions & 1 deletion .javascript_ignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
source/vendors/*
source/lib/*
source/js/src/affix.js
source/js/src/scrollspy.js
42 changes: 42 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@
# NexTD from [NexT](https://github.com/iissnan/hexo-theme-next/)

花了一两天时间改造了大大的 Hexo 主题,添加了页面封面与博文封面的设置,更大气一些哈
由于第一次使用 Swig 与 Stylus,一边改造一边学习,可惜改动蛮多的,已与原版不兼容_(:зゝ∠)_
做了响应式处理,基本没什么大问题嘞~

**页面封面设置**(效果预览 > [熊D博客](https://blog.beard.ink/)):
```
# /themes/nextd/_config.yml
# Page covers for follow pages, whom height is greater than 400px.
# Home cover is required, which is default cover for other pages.
cover:
home: /images/home_bg.jpg
tag: /images/tag_bg.jpg
archive: /images/archive_bg.jpg
category: /images/category_bg.jpg
# post:
# about:
# pages:
```
效果:
![页面封面效果](https://github.com/HiDino9/hexo-theme-nextd/blob/master/test/nextd_home_preview.jpg?raw=true)

**博文封面设置**(效果预览 > [从零开始:现在开始用ES6写代码 | 熊D博客](https://blog.beard.ink/JavaScript/从零开始:现在开始用ES6写代码/)):
```
---
title: 从零开始:现在开始用ES6写代码
date: 2016-09-30 18:46:45
categories: JavaScript
tags: [JS,JavaScript,ES6,ECMAScript6,ES2015,Babel,Gulp,NodeJs]
cover: banner-write-in-es6.jpg
---
```
> 博文封面效果借鉴了[ Hux ](https://github.com/huxpro)大大博客的效果,谢谢~

效果:
![博文封面效果](https://github.com/HiDino9/hexo-theme-nextd/blob/master/test/nextd_post_preview.jpg?raw=true)

**如果文章无法查到封面路径,请尝试安装 `hexo-asset-image` 插件**

***

# NexT

> 精于心,简于形
Expand Down
Loading