Skip to content

Commit 7e3cfac

Browse files
committed
Update README, add copyright LICENSE for blog posts
1 parent 366f2f8 commit 7e3cfac

File tree

2 files changed

+415
-9
lines changed

2 files changed

+415
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
[![Deploy Jekyll site to Pages](https://github.com/apqx/apqx.github.io/actions/workflows/jekyll.yml/badge.svg)](https://github.com/apqx/apqx.github.io/actions/workflows/jekyll.yml)
44

5-
[Jekyll](https://jekyllrb.com)驱动的静态博客,遵循[Material Design](https://material.io)设计规范,主体使用[Material Components Web](https://github.com/material-components/material-components-web)框架。
5+
[Jekyll](https://jekyllrb.com)驱动的静态博客,参考[Material Design](https://material.io)设计风格,主体使用[Material Components Web](https://github.com/material-components/material-components-web)框架。
66

7-
并非通用博客模版,而是以我自己的喜好量身定制,由随笔、转载、诗文、看剧4个板块组成,应用平淡极简风格,在文字、色彩和动画之外不添加多余元素。可作为`Material Design`个人站参考,但不建议直接套用,尚未进行模版化改造。
7+
并非通用博客模版,而是以我自己的喜好量身定制,由随笔、转载、诗文、看剧4个板块组成,整体采用平淡极简风格,在文字、色彩和动画之外不添加多余元素。可作为`Material Design`个人站参考,但不建议直接套用,尚未进行模版化改造。
88

99
主页:[立泉的写字板](https://mudan.me)
1010

@@ -29,7 +29,7 @@
2929
切换到内部`Webpack`工程目录,编译生成`JS``CSS`
3030

3131
```sh
32-
# 进入内部Webpack工程
32+
# 进入内部 Webpack 工程
3333
cd npm
3434
# 安装所需依赖
3535
npm install
@@ -44,7 +44,7 @@ npm run build
4444
```html
4545
<!-- _includes/configure.html -->
4646

47-
<!-- 设置debug为true,将会使用本地资源 -->
47+
<!-- 设置 debug 为 true,将会使用本地资源 -->
4848
{% assign debug = true %}
4949
```
5050

@@ -68,20 +68,20 @@ bundle exec jekyll serve -l -o --trace --draft
6868
http://localhost:4000
6969
```
7070

71-
`jekyll serve`是以开发模式生成站点,一些插件比如`jekyll-sitemap`并不会使用`_config.yml`中配置的域名。生成可部署站点需执行`jekyll build`
71+
`jekyll serve`是以开发模式生成站点,一些插件比如`jekyll-sitemap`并不会使用`_config.yml`中配置的域名,如果要生成可部署站点需执行`jekyll build`
7272

7373
```sh
7474
bundle exec jekyll build --trace
7575
```
7676

7777
## 部署到GitHub Pages
7878

79-
调试后,`Webpack`生成的新`JS``CSS`文件需要更新到`OSS`中,然后在`_includes/configure.html`中关闭`debug`模式即可使用这些远程资源。
79+
调试完成后,把`Webpack`生成的新`JS``CSS`文件上传到`OSS`中,然后在`_includes/configure.html`中关闭`debug`模式即可使用这些远程资源。
8080

8181
```html
8282
<!-- _includes/configure.html -->
8383

84-
<!-- 设置debug为false -->
84+
<!-- 设置 debug 为 false -->
8585
{% assign debug = false %}
8686
```
8787

@@ -95,6 +95,6 @@ git push
9595

9696
![立泉的写字板](https://apqx-host.oss-cn-hangzhou.aliyuncs.com/blog/screenshots/index_phone.webp)
9797

98-
## 版权
98+
## 开源与版权
9999

100-
博客代码以`GPL`许可开源,但对文章内容保留著作权,对摄影照片保留版权,未经允许不可作商业用途。
100+
博客代码以`GPL-3.0`协议开源,但[_posts](./_posts/)目录下的原创文章以[CC BY-NC-ND 4.0](https://creativecommons.org/licenses/by-nc-nd/4.0/)协议保留著作权,对其中的摄影照片保留版权,未经允许不可作商业用途。

0 commit comments

Comments
 (0)