Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
SunsetMkt committed Nov 15, 2024
1 parent a40c2ec commit ac2f864
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This blog is migrated from Jekyll with `/article/:slug/` URL pattern (allow uppe

## Compress media

All files in final release should < 25 MB.
All files in final release should < 25 MB to make Cloudflare Pages happy.

```bash
scoop install main/ffmpeg
Expand All @@ -29,6 +29,12 @@ ffmpeg -i input.flac -ab 320k -map_metadata 0 -id3v2_version 3 output.mp3
ffmpeg -i input.mp4 -c:v libx265 -preset ultrafast -crf 30 -c:a aac -b:a 250k output.mp4
```

## Cloudflare Pages enforce file size

```bash
hugo --minify --gc && find public -type f -size +24900k -exec rm -f {} \;
```

## Icons

[Tabler](https://tabler.io/icons)
Expand Down

0 comments on commit ac2f864

Please sign in to comment.