/kungfux.github.io

Primary LanguageHTMLMIT LicenseMIT

Blog

Check it out at kungfux.github.io

Rules

  • Image format is .webp
  • Cover image size 1200 x 630 with aspect ratio of 1.91 : 1

Development

Commands

  • Restore
$ bundle
  • Build
$ bundle exec jekyll
  • Include drafts into build
$ bundle exec jekyll --drafts
  • Build and watch
$ bundle exec jekyll s
  • Build like in production
$ JEKYLL_ENV=production bundle exec jekyll s

Upgrade

  1. Update version number
- gem "jekyll-theme-chirpy", "= 6.5.4"
+ gem "jekyll-theme-chirpy", "= 6.5.5"
  1. Run bundle

Copy assets

$ docker cp cover.webp kungfux.github.io:/workspaces/kungfux.github.io/assets/media/2024

Customizations

  • Wrap text in code blocks
    • assets/css/jekyll-theme-chirpy.scss
  • Adjust styles for schemas and code blocks
    • assets/css/jekyll-theme-chirpy.scss
  • Align lists by center
    • assets/css/jekyll-theme-chirpy.scss
  • Single line post titles
    • assets/css/jekyll-theme-chirpy.scss
  • Meta author tag
    • _includes/head.html