Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kungfux/kungfux.github.io


https://github.com/kungfux/kungfux.github.io

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Blog
Check it out at [kungfux.github.io](https://kungfux.github.io)

# Rules
- Image format is `.webp`
- Cover image size `1200 x 630` with aspect ratio of `1.91 : 1`

# Development
## Commands
- Restore
```bash
$ bundle
```

- Build
```bash
$ bundle exec jekyll
```

- Include drafts into build
```bash
$ bundle exec jekyll --drafts
```

- Build and watch
```bash
$ bundle exec jekyll s
```

- Build like in production
```bash
$ JEKYLL_ENV=production bundle exec jekyll s
```

## Upgrade
1. Update version number
```diff
- gem "jekyll-theme-chirpy", "= 6.5.4"
+ gem "jekyll-theme-chirpy", "= 6.5.5"
```

2. Run `bundle`

## Copy assets

```bash
$ 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`
- Update site title tag from `

` to `

`
`_includes/sidebar.html`
- Add progress bar to back to top
`assets/js/progress.js`, `assets/css/jekyll-theme-chirpy.scss`