Skip to content
⚡️ 一款 Material Design风格的Hexo主题 / An elegant Material-Design theme for Hexo
Branch: master
Clone or download
0x2E Merge pull request #35 from aptend/master
Fix toc's positioning errors during resizing
Latest commit 45b1eb6 May 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
layout Change username Mar 27, 2019
source fix toc's malpostion during resizing May 7, 2019
.gitignore add gitignore Oct 16, 2018
Changelog.md 🔨 Redesign Mar 15, 2019
LICENSE Change username Mar 27, 2019
README.md Change username Mar 27, 2019
_config.yml

README.md

Material-T

一款 Material Design 风格的主题

GitHub repo size in bytes notification contributors license

ScreenShot

Demo

rook1e's blog

文档 Docs

快速开始 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/3/15

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

Contributors

感谢:@zhugaoqi, @ChungZH

TODO

License

MIT

You can’t perform that action at this time.