Skip to main content

Publish blog

Tricks#

Hide A Post#

If you do not want to list your post on the website, you can add a published: false to the front matter YAML.

published: false

List on https://wechaty.js.org/news/#

If a post has a tag named news then it will be shown at https://wechaty.js.org/news/

tags:
- news

All posts will be showed at https://wechaty.js.org/blog/

Show Big Picture#

tags:
- sticky

Minimizing images#

Optimize image compression where possible.

Our limitation for an image is:

  1. file size maximum 1MB
  2. file resolution maximum 1920x1080

For image files, use scripts/fit-image.sh:

./scripts/fit-image.sh jekyll/assets/2021/03-your-blog-folder/

This is based on ImageMagick.

Submit Blog Post#

Submit your blog by creating a Pull Request at https://github.com/wechaty/wechaty.js.org/tree/master/jekyll/_posts

Please make sure the CI turns green, and if the CI fail, you need to check the error messages and fix all the problems before we can continue processing it.

Support#

You can join our Gitter network if you aren’t already a member.

Last updated on by Souvik Biswas