/HaoXianSen.github.io

博客

Primary LanguageHTMLMIT LicenseMIT

Personal Blog

harry blog

Quickstart

  1. fork blog project
  2. rename

Quick auto start

open your terminal, and `sh install.sh`

manual

0. install [jekyll](https://jekyllrb.com/docs/)
0. bundle install
  1. modify
    • change configuration to fit your style
    • add new article into _post directory
  2. bundle exec jekyll serve
    • change directory(cd) to project root
    • run bundle exec jekyll serve --incremental
  3. push into master after confirmed

start write a blog you can execute sh auto_install.sh if you need psot a blog you an execute sh auto_push.sh

记录一下我使用的图片上传工具 Typora 为我们提供了多种图片上传工具

image-20220829154029481

OK,具体的可以参考文档

其中我使用了upic, 其实安装也很简单,从github 下载release,拖到application里,然后运行,然后配置偏好设置,添加github的配置

image-20220829154256437

Useful CMD

  1. count post key from ls _posts/* | grep "md" | wc -l, first beginning is zero

Reference

  1. layouts
  2. doc
  3. kitian616
  4. xlagrange
  5. jekyllrb directory structure