Skip to content

Commit

Permalink
Merge pull request #189 from longze/master
Browse files Browse the repository at this point in the history
添加网站 title,主标题,副标题的配置功能和文档说明
  • Loading branch information
xiaoqiang-zhao committed Dec 31, 2015
2 parents 507d09f + 6ad1078 commit 10d6211
Show file tree
Hide file tree
Showing 9,390 changed files with 58 additions and 1,294,743 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cellar 2.0

cellar中文意思酒窖,希望这里的每一篇博文都是一瓶美酒佳酿,这是建立这个项目的美好愿景。
> cellar中文意思酒窖,希望这里的每一篇博文都是一瓶美酒佳酿,这是建立这个项目的美好愿景。
## 项目概述

Expand All @@ -20,18 +20,28 @@ cellar中文意思酒窖,希望这里的每一篇博文都是一瓶美酒佳

node tool/init-site

- 发布到哪里?可以在 tool/init-site/bin/config.js 中配置 publicSitePath 字段,相对和本地绝对路径都可以;
- 发布到哪里?可以在 cellar/tool/init-site/bin/config.js 中配置 publicSitePath 字段,相对和本地绝对路径都可以。默认发布到与 cellar 同层目录的 my-blog 文件夹下

- 本地预览,运行下面命令发布(依然在本项目根路径下运行)

node server

- 终于看到自己的博客了,但是头像和网站标题都需要换,在 cellar/web/src/components/header/header.tpl 中换网站标题,与之同级的 picture.png 就是头像,请同名替换。博客的 title 在 cellar/tool/init-site/bin/config.js 中配置 title 字段进行配置。然后在 cellar/tool 下执行

webpack -p

- 发布到线上,你可以把生成的静态博客放在自己的服务器上,也可以在 github 上开通自己的站点,上传文件就可以显示。效果参考[本开源项目发起人的个人站点](https://longze.github.io)

## 本工具的原理介绍

待续...

## TODOs

这是一个幼小的开源项目,还有很多需要完善的地方,如果你感兴趣,我们可以一起来做这件有意思的事情,下面是我想做还没来得及做的一些改进点,欢迎贡献代码。如果你建议添加一些其他功能,请在 Issues 中提出方便管理。如果你想吐槽我的代码也是乐于受教的,同样在 Issues 中提出。

- css 预处理

- 将 webpack 的压缩集成在 init-site 中
- 将 webpack 的压缩集成在 init-site 中

- 优化 webpack 的配置
1 change: 0 additions & 1 deletion bak/README.md

This file was deleted.

3 changes: 0 additions & 3 deletions bak/jquery-promise/main.md

This file was deleted.

3 changes: 0 additions & 3 deletions bak/jquery/main.md

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

217 changes: 0 additions & 217 deletions bak/jqui-sortable/demo/legacy/development-bundle/AUTHORS.txt

This file was deleted.

26 changes: 0 additions & 26 deletions bak/jqui-sortable/demo/legacy/development-bundle/MIT-LICENSE.txt

This file was deleted.

99 changes: 0 additions & 99 deletions bak/jqui-sortable/demo/legacy/development-bundle/README.md

This file was deleted.

Loading

0 comments on commit 10d6211

Please sign in to comment.