Skip to content
This repository was archived by the owner on Feb 5, 2022. It is now read-only.

Commit 6178be1

Browse files
Sam HSam H
authored andcommitted
refactor: edit readme and add webp files for blog images
1 parent 1bf41f1 commit 6178be1

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ https://developers.google.com/speed/webp/docs/precompiled
4141
brew install webp
4242
```
4343

44-
#### Make Sure .webp Images are available by running the following commands:
44+
#### Make Sure .webp Images are available by running the following commands inside the root folder:
4545
```
4646
for file in src/assets/*.jpg; do cwebp -q 75 "$file" -o "${file%.jpg}.webp"; done
4747
```
@@ -55,9 +55,14 @@ for file in src/assets/*.jpeg; do cwebp -q 75 "$file" -o "${file%.jpeg}.webp"; d
5555
```
5656

5757
### Blog Setup
58-
By default, the public version of this project does not contain an API key for the [ButterCMS](https://buttercms.com/) blog content management system. You will need to add your own ButterCMS API key in order to make this project work.
58+
By default, the public version of this project does not contain an API key for the [ButterCMS](https://buttercms.com/) blog content management system. You will need to add your own ButterCMS API key in order to make this project work.
5959

60-
If you have an API key for another ButterCMS blog that you would like to add to this project, use your text editor and open the file:
60+
The necessary file for inserting the ButterCMS API key will be auto-generated by running
61+
```
62+
node scripts/get-butter.js
63+
```
64+
65+
After that, use your text editor and open the file:
6166
```
6267
src/butter-api/butter-api-key.ts
6368
```

src/assets/blog/facebook.webp

1.09 KB
Loading

src/assets/blog/linkedin.webp

1.2 KB
Loading

src/assets/blog/twitter.webp

1.53 KB
Loading

0 commit comments

Comments
 (0)