diff --git a/README.md b/README.md index 8316086..01bf528 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ A minimal, sidebar, responsive web design Jekyll theme, focusing on text present ### Prerequisites -Follow the [Jekyll Docs](https://jekyllrb.com/docs/installation/) to complete the installtion of basic environment (`Ruby`, `RubyGems` and `Bundler`). +Follow the [Jekyll Docs](https://jekyllrb.com/docs/installation/) to complete the installation of basic environment (`Ruby`, `RubyGems` and `Bundler`). To improve the writing experience, we need to use some script tools. If your machine is running Debian or macOS, make sure that [GNU coreutils](https://www.gnu.org/software/coreutils/) is installed. Otherwise, install by: @@ -127,7 +127,7 @@ Generally, go to `_config.yml` and configure the variables as needed. Some of th * `avatar` - It defines the image file location of avatar. The sample image is `/assets/img/sample/avatar.jpg`, and should be replaced by your own one(a square image). Notice that a huge image file will increase the load time of your site, so keep your avatar image size as samll as possible(may be ** will help). + It defines the image file location of avatar. The sample image is `/assets/img/sample/avatar.jpg`, and should be replaced by your own one(a square image). Notice that a huge image file will increase the load time of your site, so keep your avatar image size as small as possible(may be ** will help). * `timezone` @@ -151,7 +151,7 @@ You may want to preview the site content before publishing, so just run the scri $ bash tools/run.sh ``` -Open a modern brower and visit at . +Open a modern browser and visit at . Few days later, you may find that the file modification(e.g. edits to a post) does not refresh in real time by using `run.sh`. Don't worry, the advanced option `-r` (or `--realtime`) will solve this problem, but it requires [**fswatch**](http://emcrisostomo.github.io/fswatch/) to be installed on your machine. Type `-h` for more information. diff --git a/_config.yml b/_config.yml index 4aa95e5..8aa9972 100644 --- a/_config.yml +++ b/_config.yml @@ -176,7 +176,7 @@ compress_html: envs: [] exclude: - - vendor # Avoid Jekyll mistakenly read the vender directory on Travis-CI's VM . + - vendor # Avoid Jekyll mistakenly read the vendor directory on Travis-CI's VM . - Gemfile.lock - Gemfile - tools diff --git a/_posts/2019-08-08-write-a-new-post.md b/_posts/2019-08-08-write-a-new-post.md index c449f28..49cbd03 100644 --- a/_posts/2019-08-08-write-a-new-post.md +++ b/_posts/2019-08-08-write-a-new-post.md @@ -87,7 +87,7 @@ The last modified date of a post is obtained according to its latest git commit ... ``` -You can choose to create this file manually, but as you may notice, the better approach is to let it be automatically generated by a tool script. And `_scripts/sh/dump_lastmod.py` was born for this! Similar to the another script `_scripts/sh/create_pages.sh` mentioned above, it is also be called from `tools/init.sh`, so it doesn't have to be used separately. +You can choose to create this file manually, but as you may notice, the better approach is to let it be automatically generated by a tool script. And `_scripts/sh/dump_lastmod.sh` was born for this! Similar to the another script `_scripts/sh/create_pages.sh` mentioned above, it is also be called from `tools/init.sh`, so it doesn't have to be used separately. When some posts have been modified since their published date and also the file `_data/updates.yml` was created correctly, a list with the label **Recent Updates** will be displayed in the right panel of the desktop view, which records the five most recently modified articles. diff --git a/_posts/2019-08-09-getting-started.md b/_posts/2019-08-09-getting-started.md index 9b51da8..8a9d79f 100644 --- a/_posts/2019-08-09-getting-started.md +++ b/_posts/2019-08-09-getting-started.md @@ -8,7 +8,7 @@ tags: [getting started] ## Prerequisites -Follow the [Jekyll Docs](https://jekyllrb.com/docs/installation/) to complete the installtion of basic environment (`Ruby `, `RubyGems` and `Bundler`). +Follow the [Jekyll Docs](https://jekyllrb.com/docs/installation/) to complete the installation of basic environment (`Ruby`, `RubyGems` and `Bundler`). To improve the writing experience, we need to use some script tools. If your machine is running Debian or macOS, make sure that [GNU coreutils](https://www.gnu.org/software/coreutils/) is installed. Otherwise, install by: @@ -91,7 +91,7 @@ Generally, go to `_config.yml` and configure the variables as needed. Some of th * `avatar` - It defines the image file location of avatar. The sample image is `/assets/img/sample/avatar.jpg`, and should be replaced by your own one(a square image). Notice that a huge image file will increase the load time of your site, so keep your avatar image size as samll as possible(may be ** will help). + It defines the image file location of avatar. The sample image is `/assets/img/sample/avatar.jpg`, and should be replaced by your own one (a square image). Notice that a huge image file will increase the load time of your site, so keep your avatar image size as small as possible (may be ** will help). * `timezone` @@ -115,7 +115,7 @@ You may want to preview the site content before publishing, so just run the scri $ bash tools/run.sh ``` -Open a brower and visit . +Open a browser and visit . Few days later, you may find that the file changes does not refresh in real time by using `run.sh`. Don't worry, the advanced option `-r` (or `--realtime`) will solve this problem, but it requires [**fswatch**](http://emcrisostomo.github.io/fswatch/) to be installed on your machine. diff --git a/_posts/2019-08-11-customize-the-favicon.md b/_posts/2019-08-11-customize-the-favicon.md index ce34752..44921a3 100644 --- a/_posts/2019-08-11-customize-the-favicon.md +++ b/_posts/2019-08-11-customize-the-favicon.md @@ -9,7 +9,7 @@ toc: false In [**Chirpy**](https://github.com/cotes2020/jekyll-theme-chirpy/), the image files of [Favicons](https://www.favicon-generator.org/about/) are placed in `assets/img/favicons/`. You may need to replace them with your own. So let's see how to customize these Favicons. -Whit a square image (PNG, JPG or GIF) in hand, open the site [*Favicon & App Icon Generator*](https://www.favicon-generator.org/) and upload your original image. +With a square image (PNG, JPG or GIF) in hand, open the site [*Favicon & App Icon Generator*](https://www.favicon-generator.org/) and upload your original image. ![upload-image]({{ "/assets/img/sample/upload-image.png" | relative_url }}) diff --git a/_scripts/sh/sync_monitor.sh b/_scripts/sh/sync_monitor.sh index 5655e0f..fd7840e 100644 --- a/_scripts/sh/sync_monitor.sh +++ b/_scripts/sh/sync_monitor.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Files sync monitoer +# Files sync monitor # v2.0 # https://github.com/cotes2020/jekyll-theme-chirpy # © 2019 Cotes Chung @@ -8,7 +8,7 @@ # $1 -> the origin file with absolute path. # $2 -> the origin sync directory -# $3 -> the destination sync direcotry +# $3 -> the destination sync directory # Omit the system temp file if [[ ! -f $1 ]]; then