-
Notifications
You must be signed in to change notification settings - Fork 537
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
287 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,28 @@ | ||
hexo-theme-material-indigo | ||
================ | ||
|
||
Material Design 风格的Hexo主题,基于 Hexo 3.0+ 制作。预览 [我的博客](http://www.imys.net/) | ||
Material Design 风格的Hexo主题,基于 Hexo 3.0+ 制作。 Preview: [我的博客](http://www.imys.net/) | ||
|
||
## 特色 | ||
> 现有两个主题分支,我的博客中使用的是 card 分支卡片风格主题,master 分支是旧版平铺式风格主题。 | ||
## Feature | ||
|
||
1. 仅支持 IE10+ 等现代浏览器。 | ||
2. 去 jQuery,更轻。相信现代浏览器的原生兼容性。 | ||
3. 去 fancybox。没了 jQuery, 这个自然也失效了。 | ||
4. 使用 Less 作为 css 预处理器,需要安装 `hexo-renderer-less`。 | ||
5. 添加了英文字体支持 Roboto。 | ||
6. 添加了一些波纹效果。By [Waves](https://github.com/fians/Waves) | ||
7. 分享直接使用了 JiaThis API 接口,免去了一次加载请求。 | ||
8. 基于静态数据的站内搜索,无第三方侵入。 | ||
3. 使用 Less 作为 css 预处理器,需要安装 `hexo-renderer-less`。 | ||
4. 添加了英文字体支持 Roboto。 | ||
5. 添加了一些波纹效果。By [Waves](https://github.com/fians/Waves) | ||
6. 分享直接使用了 JiaThis API 接口,免去了一次加载请求。 | ||
7. 基于静态数据的站内搜索,无第三方侵入。 | ||
8. 内置 Github 风格的多说样式,且集成 Marked.js,支持Markdown评论。 | ||
9. 支持文章打赏。 | ||
|
||
## 使用 | ||
## Useage | ||
|
||
[文档 | Document](https://github.com/yscoder/hexo-theme-indigo/wiki) | ||
|
||
## 更新日志 | ||
## ChangeLog | ||
|
||
升级前请仔细查看更改内容,如非必要可不升级。 | ||
|
||
[Log](https://github.com/yscoder/hexo-theme-indigo/wiki/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97) | ||
|
||
|
||
## 截图 | ||
|
||
### PC | ||
|
||
 | ||
|
||
### Pad | ||
|
||
 | ||
|
||
### Phone | ||
|
||
 | ||
|
||
### Search | ||
|
||
 | ||
|
||
### Archive | ||
|
||
 | ||
|
||
[ChangeLog](https://github.com/yscoder/hexo-theme-indigo/releases) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,16 +32,19 @@ rss: /atom.xml | |
|
||
#你的头像url | ||
avatar: /img/logo.jpg | ||
#favicon | ||
favicon: /favicon.ico | ||
|
||
email: [email protected] | ||
|
||
# 设置 Android L Chrome 浏览器状态栏颜色 | ||
color: '#3F51B5' | ||
|
||
# Content | ||
tags: | ||
title: 标签 | ||
# 页面标题 | ||
tags_title: Tags | ||
archives_title: Archives | ||
categories_title: Categories | ||
|
||
# 文章截断 | ||
excerpt_render: false | ||
|
@@ -71,14 +74,14 @@ toc: | |
list_number: true # 是否显示数字排序 | ||
|
||
#文章页版权声明内容,hexo中所有变量及辅助函数等均可调用,具体请查阅 hexo.io | ||
copyright: 这里写留言或版权声明:<a href="<%- url_for(page.path) %>" target="_blank" rel="external"><%- url %></a> | ||
copyright: 这里写留言或版权声明:<a href="<%- url_for(page.path).replace(/index\.html$/, '') %>" target="_blank" rel="external"><%- url.replace(/index\.html$/, '') %></a> | ||
|
||
#站长统计,如要开启,输入CNZZ站点id,如 cnzz: 1255152447 | ||
cnzz: false | ||
|
||
# Miscellaneous | ||
google_analytics: '' | ||
favicon: /favicon.ico | ||
google_analytics: false | ||
google_site_verification: false | ||
|
||
# less | ||
less: | ||
|
@@ -89,3 +92,8 @@ less: | |
#是否开启多说评论,填写你在多说申请的项目名称 duoshuo: duoshuo-key | ||
#若使用disqus,请在博客config文件中填写disqus_shortname,并关闭多说评论 | ||
duoshuo: ysblog | ||
disqus_shortname: false | ||
|
||
# 规范网址 | ||
# https://support.google.com/webmasters/answer/139066 | ||
canonical: http://imys.net |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<%- partial('categories', { | ||
pagination: config.archive, | ||
title: 'Categories: '+page.category | ||
title: theme.categories_title + ': '+ _.capitalize(page.category) | ||
}) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<%- partial('_partial/head') %> | ||
<body> | ||
<%- partial('_partial/loading') %> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<%- partial('tags', { | ||
pagination: config.archive, | ||
title: 'Tags: '+page.tag | ||
title: theme.tags_title + ': '+ _.capitalize(page.tag) | ||
}) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "hexo-theme-material-indigo", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"private": true | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.