Chatie Official Blog
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
_layouts restore author & date in list Sep 18, 2018
_posts add botbuilder-wechaty-adapter for botbuilder v4 Jan 14, 2019
assets Add new css for relatively colourful code highlight Jul 30, 2017
bin mods to sha meetup Sep 10, 2017
download cwdc-meet-up-blog Nov 16, 2018
.gitignore init jekyll blog Dec 4, 2016
404.md fix https://blog.chatie.io/guide/2017/01/01/getting-started-wechaty.html Apr 15, 2018
CNAME
CODEOWNERS add code owners setting for review automatically Sep 12, 2017
Gemfile ghostcloud blog Dec 5, 2016
LICENSE
README.md how to add a blog post Dec 2, 2018
_config.yml remove data in url (#79) Apr 8, 2018
about.md
favicon.ico change log Nov 25, 2018
index.md init jekyll blog Dec 4, 2016

README.md

blog.chatie.io

Chatie Official Blog

HOW TO POST BLOG

  1. Fork it
  2. Create your blog branch (git checkout -b your-blog)
  3. Write your blog in markdown
  4. Add your blog to _post folder
  5. Add related image to download folder
  6. Commit your changes (git commit -am 'added a blog')
  7. Push to the branch
  8. Create new Pull Request

Done!~

CONTRIBUTE GUIDELINE

1. Add Blog Header

All blog should has title, author, date...
Example as follows:

---
 layout: post
 title: "'Score Your Face Photo' a ML&Wechaty practice"
 date: 2017-09-18 09:00 +0800
 author: huyingxi
 ---
 
 > Author: [@huyingxi](https://github.com/huyingxi/wechaty_selfie) enjoying ML&Wechaty at BUPT

2. Writing Style

  • Keep all filenames & url as lowercase, and use - to connect words instead of space. e.g. 2017-10-06-wechat-pc-impactor instead of 2017-10-06-WeChat PC Impactor
  • Find a good image for the blog to make it more beautiful.
  • Embed the photo & video before publishing, save all external file to the blog /download/2018 directory.

see more: Do not include Date in URL

3. Add <!--more--> Section

Add <!--more--> section for your abstract part, it will show on the blog homepage, or the blog homepage will show all your blog content.

4. Just Commit Related Files

Please do not commit unrelated files.

5. Add Vedios

Example

<iframe width="560" height="315" src="https://www.youtube.com/embed/3eq8wJfCAWs" frameborder="0" allowfullscreen></iframe>

TOOL

Online Editor

http://prose.io/#chatie/blog.chatie.io/tree/master/_posts

RUN LOCALHOST

Install

sudo apt install ruby-bundler
sudo apt install ruby-dev
sudo gem install ffi -v '1.9.18'
sudo gem install bundler
bundle install

View

bundle exec jekyll serve --watch

OTHERS

JEKYLL THEME

minima: https://github.com/jekyll/minima