Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kungfux/kungfux.github.io
https://github.com/kungfux/kungfux.github.io
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/kungfux/kungfux.github.io
- Owner: kungfux
- License: mit
- Created: 2024-01-03T21:41:11.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-05-20T00:09:17.000Z (6 months ago)
- Last Synced: 2024-05-20T01:25:02.893Z (6 months ago)
- Language: Ruby
- Size: 6.79 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`