Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correcting broken links, fixing typos #757

Merged
merged 2 commits into from
Nov 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions exampleSite/config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ viewer = true # Image Viewer

[analytics]
# baidu = "" # Baidu Analytics
# plausible = "razonyang.com,hbs.razonyang.com" # Multiple domains separate by comma.
# plausible = "razonyang.com,hbs.razonyang.com" # Multiple domains separated by comma.
# plausibleScript = "" # Specify the self-hosted script or extended script. Default to https://plausible.io/js/script.js.

# Site verification
Expand Down Expand Up @@ -149,7 +149,7 @@ viewer = true # Image Viewer
# sorting = "desc" # Default to asc.
# reCaptchaKey = "" # The reCaptcha site key.
# reCaptchaSecret = "" # The reCaptcha encrypted secret. You'll need to encrypt plain secret via https://yourstaticmaninstance/v3/encrypt/PLAINSECRET.
# extraFields = [ "url" ] # Extra fields. Available fiedls: url.
# extraFields = [ "url" ] # Extra fields. Available fields: url.
# requiredFields = [ "email", "url" ] # Extra required fields. Available fields: email and the extra fields.
# paginate = 5 # Default to 10.
# moderation = false # Same as Staticman's moderation.
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/about/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ postDate = false
readingTime = false
+++

Written in Go, Hugo is an open source static site generator available under the [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows.
Written in Go, Hugo is an open source static site generator available under the [Apache License 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows.

Hugo makes use of a variety of open source projects including:

Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/docs/advanced/purgecss/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ But don't worry, there are two ways to solve this problem.

Just create a file called `extra_stats.json` with the same form of `hugo_stats.json` on your site root, and put the extra CSS into it manually.

> `extra_stats.json` MUST be commited to your repo.
> `extra_stats.json` MUST be committed to your repo.

### Put HTML Block into `*.html` Files

Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/docs/advanced/scss-variables/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ It's able to disable it via custom SCSS.
{{% code/scss-variables-disable-logo-animation %}}
```

But the previous style which we don't need still present in CSS bundle, since we just overrided it by the custom SCSS.
But the previous style which we don't need is still present in CSS bundle, since we just overrode it by the custom SCSS.

```css
{{% code/scss-variables-disable-logo-animation-output %}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ images = []
navWeight = 960
+++

HBS suppports multiple languages out of box, such as English, Simplified Chinese, Traditional Chinese, French, Russian etc.
HBS supports multiple languages out of box, such as English, Simplified Chinese, Traditional Chinese, French, Russian etc.

<!--more-->

Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/docs/image-viewer/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ const options = {
export default options;
```

Avialable options are listed on [Viewer.js Options](https://github.com/fengyuanchen/viewerjs#options).
Available options are listed on [Viewer.js Options](https://github.com/fengyuanchen/viewerjs#options).
2 changes: 1 addition & 1 deletion exampleSite/content/docs/image-viewer/index.zh-hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ const options = {
export default options;
```

Avialable options are listed on [Viewer.js Options](https://github.com/fengyuanchen/viewerjs#options).
Available options are listed on [Viewer.js Options](https://github.com/fengyuanchen/viewerjs#options).
2 changes: 1 addition & 1 deletion exampleSite/content/docs/image-viewer/index.zh-hant.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ const options = {
export default options;
```

Avialable options are listed on [Viewer.js Options](https://github.com/fengyuanchen/viewerjs#options).
Available options are listed on [Viewer.js Options](https://github.com/fengyuanchen/viewerjs#options).
2 changes: 1 addition & 1 deletion exampleSite/content/docs/shortcodes/alert/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ BLOCK ALERT
{{</* /alert */>}}
```

> The parameter `type` is optional. Default to `info`, availiable values: `info`, `success`, `warning` and `danger`.
> The parameter `type` is optional. Default to `info`, available values: `info`, `success`, `warning` and `danger`.

### With Heading

Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/docs/shortcodes/alert/index.zh-hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ BLOCK ALERT
{{</* /alert */>}}
```

> The parameter `type` is optional. Default to `info`, availiable values: `info`, `success`, `warning` and `danger`.
> The parameter `type` is optional. Default to `info`, available values: `info`, `success`, `warning` and `danger`.

### 带有标题

Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/docs/shortcodes/alert/index.zh-hant.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ BLOCK ALERT
{{</* /alert */>}}
```

> The parameter `type` is optional. Default to `info`, availiable values: `info`, `success`, `warning` and `danger`.
> The parameter `type` is optional. Default to `info`, available values: `info`, `success`, `warning` and `danger`.

### 帶有標題

Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/docs/widgets/comments/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ Finally, tweak the following `staticman` parameters in `params.toml`.
| `staticman.sorting` | String | `asc` | Sorting comments, available options: `desc`.
| `staticman.reCaptchaKey` | String | `-` | The reCaptcha site key.
| `staticman.reCaptchaSecret` | String | `-` | The reCaptcha encrypted secret. You'll need to encrypt plain secret via https://yourstaticmaninstance/v3/encrypt/plainsecret.
| `staticman.extraFields` | Array | `-` | Extra fields. Available fiedls: `url`.
| `staticman.extraFields` | Array | `-` | Extra fields. Available fields: `url`.
| `staticman.requiredFields` | Array | `-` | Extra required fields. Available fields: `email` and the extra fields. `name` and `message` are always required.
| `staticman.paginate` | Integer | `10` | The number of comments per page.
| `staticman.moderation` | Boolean | `true` | Same as Staticman's moderation.
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/docs/widgets/comments/index.zh-hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ Finally, tweak the following `staticman` parameters in `params.toml`.
| `staticman.sorting` | String | `asc` | Sorting comments, available options: `desc`.
| `staticman.reCaptchaKey` | String | `-` | The reCaptcha site key.
| `staticman.reCaptchaSecret` | String | `-` | The reCaptcha encrypted secret. You'll need to encrypt plain secret via https://yourstaticmaninstance/v3/encrypt/plainsecret.
| `staticman.extraFields` | Array | `-` | Extra fields. Available fiedls: `url`.
| `staticman.extraFields` | Array | `-` | Extra fields. Available fields: `url`.
| `staticman.requiredFields` | Array | `-` | Extra required fields. Available fields: `email` and the extra fields. `name` and `message` are always required.
| `staticman.paginate` | Integer | `10` | The number of comments per page.
| `staticman.moderation` | Boolean | `true` | Same as Staticman's moderation.
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/docs/widgets/comments/index.zh-hant.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ Finally, tweak the following `staticman` parameters in `params.toml`.
| `staticman.sorting` | String | `asc` | Sorting comments, available options: `desc`.
| `staticman.reCaptchaKey` | String | `-` | The reCaptcha site key.
| `staticman.reCaptchaSecret` | String | `-` | The reCaptcha encrypted secret. You'll need to encrypt plain secret via https://yourstaticmaninstance/v3/encrypt/plainsecret.
| `staticman.extraFields` | Array | `-` | Extra fields. Available fiedls: `url`.
| `staticman.extraFields` | Array | `-` | Extra fields. Available fields: `url`.
| `staticman.requiredFields` | Array | `-` | Extra required fields. Available fields: `email` and the extra fields. `name` and `message` are always required.
| `staticman.paginate` | Integer | `10` | The number of comments per page.
| `staticman.moderation` | Boolean | `true` | Same as Staticman's moderation.
Expand Down
6 changes: 3 additions & 3 deletions exampleSite/data/en/faq/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@
"questions": [
{
"question": "How to set up the FAQ page?",
"answer": "See also [FAQ Page](/en/posts/faq)."
"answer": "See also [FAQ Page](/v1/en/posts/faq)."
},
{
"question": "Does FAQ page support Markdown syntax?",
"answer": "Sure. You can type any valid Markdown syntax, such as `code`, *italic*, **bold text** etc.\n#### Table\n| Foo |\n|:---|\n| Bar |\n#### List\n- One\n- Two\n"
},
{
"question": "How to add more icons?",
"answer": "See also [Look and Feel](/en/posts/look-and-feel#icons)."
"answer": "See also [Look and Feel](/v1/en/posts/look-and-feel#icons)."
},
{
"question": "How to remove a language?",
"answer": "Let's take `zh-cn` as example.\n- Remove the language from `config/_default/languages.toml`.\n- Remove the content by command `find . -type f -name \"*.zh-cn.*\" -delete`."
},
{
"question": "How to add new language?",
"answer": "- Put your new language into `config/_default/languages.toml`.\n- [Write Articles](/en/docs/content/)."
"answer": "- Put your new language into `config/_default/languages.toml`.\n- [Write Articles](/v1/en/docs/content/)."
}
]
}
6 changes: 3 additions & 3 deletions exampleSite/data/ja/faq/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@
"questions": [
{
"question": "FAQページの設置方法は?",
"answer": "こちらもご覧下さい [FAQ Page](/ja/posts/faq)."
"answer": "こちらもご覧下さい [FAQ Page](/v1/ja/posts/faq)."
},
{
"question": "FAQページはMarkdown構文に対応していますか?",
"answer": "もちろん、次のような有効なMarkdown構文を入力することができます。 `code`, *italic*, **bold text** etc.\n#### Table\n| Foo |\n|:---|\n| Bar |\n#### List\n- One\n- Two\n"
},
{
"question": "アイコンを増やすには?",
"answer": "こちらもご覧下さい [Look and Feel](/ja/posts/look-and-feel#icons)."
"answer": "こちらもご覧下さい [Look and Feel](/v1/ja/posts/look-and-feel#icons)."
},
{
"question": "言語を削除するには?",
"answer": "zh-cn`を例にとって考えてみよう。\n- `config/_default/languages.toml`から言語を削除\n- コマンドによるコンテンツの削除 `find . -type f -name \"*.zh-cn.*\" -delete`."
},
{
"question": "新しい言語を追加するには?",
"answer": "- 新しい言語を `config/_default/languages.toml`に追加\n- [Write Articles](/en/docs/content/)."
"answer": "- 新しい言語を `config/_default/languages.toml`に追加\n- [Write Articles](/v1/en/docs/content/)."
}
]
}