Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jackeygao/jackeygao.github.io.bakup
JackeyGao的笔记本
https://github.com/jackeygao/jackeygao.github.io.bakup
Last synced: 15 days ago
JSON representation
JackeyGao的笔记本
- Host: GitHub
- URL: https://github.com/jackeygao/jackeygao.github.io.bakup
- Owner: jackeyGao
- License: mit
- Created: 2015-10-04T10:47:26.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-26T09:50:34.000Z (about 7 years ago)
- Last Synced: 2024-10-28T14:35:31.333Z (2 months ago)
- Language: JavaScript
- Homepage: http://jackeygao.io
- Size: 26.9 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 68
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[jackeygao.github.io](http://jackeygao.github.io)
----## Packages
需要安装jinja2、misaka, pygments库
## 运行
```
mkdir ./markdown
echo -e "title: Hello\ndate: 2017-03-16 12:41:12\n---\nMy first post" >> ./markdown/hello.md
make deploy
```## 渲染逻辑
```
├── scripts
│ ├── md.py # 基于 misaka 的markdown定制
│ └── render.py # 渲染脚本, 更新md文件后执行
```## make语句
```bash
# Generate stylesheets.
NOW = $(shell date '+%Y-%m-%d %H:%M:%S')all: render
style:
sass --update assets/scss:assets/stylesheetsrender: style
python scripts/render.pywatch:
sass --watch assets/scss:assets/stylesheetsdeploy:
make render
git add rss.xml
git add '*.html'
git add 'words/*.html'
git commit -m "[UPDATE] $(NOW)"
git push origin master
```## License
MIT