Thanks to visit codestin.com
Credit goes to github.com

Skip to content

⚡ 一款 Material Design风格的Hexo主题 / An elegant Material-Design theme for Hexo

License

graforlock/Material-T

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Material-T

一款 Material Design 风格的主题

GitHub repo size in bytes notification contributors license

ScreenShot

Demo

Rook1e's blog

快速开始 Quick Start

1. 获取最新版本

cd themes
git clone -b master https://github.com/0x2e/Material-T.git Material-T

2. 修改 Hexo 的_config.yml

// 关闭归档页的默认分页:
archive_generator:
  per_page: 0  
  yearly: true
  monthly: true
  daily: false
  order_by: -date

// 关闭默认代码高亮
highlight:
  enable: false
  line_number: false
  auto_detect: false
  tab_replace:

3. 创建 About Page

hexo new page about

修改 /source/about/index.md,添加属性 type: "about"

4. 在 Hexo 的 _config.yml 中启用 Material-T

更新 Update

v0.9 向上升级时,建议先备份,然后直接用新版本替换,以免 git pull 时出现过多冲突。

cd /themes/Material-T
git pull

Changelog

2019/6/6

  • 完善 archive 渲染逻辑

2019/3/15

  • 重新设计基本完成,特别感谢 @zhugaoqi 同学的设计指导;
  • 将所有第三方库、图片替换为 CDN 引用,极大精简仓库大小;
  • 重新设计 archive 渲染逻辑;
  • 统一文章页布局,新增文章版权声明;
  • 精简页面,配置项;
  • 老版本停止维护,代码暂时归档在 v0.9 分支,如有需要请 fork 备份;

Contributors

感谢:@zhugaoqi, @ChungZH

License

MIT

About

⚡ 一款 Material Design风格的Hexo主题 / An elegant Material-Design theme for Hexo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 71.1%
  • CSS 19.7%
  • JavaScript 9.2%