blob: 0e21f13f9c4ab7ec2da96f67f08a930639ef730e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# EasyBook
EasyBook移植自[jekyll-theme-EasyBook](https://github.com/laobubu/jekyll-theme-EasyBook),简洁但强大。在Hugo v0.58.3中测试通过。
[Demo](http://y4er.com) [English Document](https://github.com/Y4er/hugo-theme-easybook/blob/master/README.md)
# 截图
![Screenshots](https://raw.githubusercontent.com/Y4er/hugo-theme-easybook/master/images/screenshot.png)
# 开始
开始前请参考[官方文档](https://gohugo.io/getting-started/quick-start/)
```
hugo new site myblog
cd myblog
git clone https://github.com/Y4er/hugo-theme-easybook themes/easybook
cp themes/easybook/exampleSite/config.toml config.toml
hugo new post\helloworld.md
hugo server
```
# 功能
- 最近文章
- 图片懒加载
- 灯箱
- 百度推送统计
- 谷歌统计
- 自动目录
- 多个评论系统
- 代码高亮
- 😁表情
- 自定义js、css
- shortcode
# 鸣谢
本仓库参考多个开源主题,在此鸣谢。
- [jekyll-theme-EasyBook](https://github.com/laobubu/jekyll-theme-EasyBook)
- [hugo-theme-even](https://github.com/olOwOlo/hugo-theme-even)
开发过程中多次参考[官方主题开发文档](https://gohugo.io/templates/)
# LICENSE
[The MIT License (MIT)](https://github.com/Y4er/hugo-theme-easybook/blob/master/LICENSE)
|