Skip to content

Commit

Permalink
fix: fixing typos
Browse files Browse the repository at this point in the history
  • Loading branch information
deining authored Jan 7, 2022
1 parent c610dad commit 99baec2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ Anatole's aims to be minimalistic and sleek but still brings some great function
- Google Analytics (optional)
- Comments powered by Disqus, Commento or Utteranc.es (optional)
- SimpleAnalytics (optional)
- Katex support (optional)
- KaTex support (optional)
- Formspree Contact Form (optional)
- Twitter Cards support
- Open Graph support
- MIT License
- Fontawesome 5.15.1 icons
- Font Awesome 5.15.1 icons
- Google Fonts support
- Custom CSS (optional)
- Custom JavaScript (optional)
Expand All @@ -58,7 +58,7 @@ hugo server --themesDir ../..

## Update your installation

If you want to get the latest update of the `Anatole` theme please execute this command:
If you want to get the latest update of the `Anatole` theme, please execute this command:

```shell
git submodule update --remote --merge
Expand All @@ -78,7 +78,7 @@ description = "Call me Jane"
profilePicture = "images/profile.jpg"
```

Please note that the title under the `[params]` only adjusts the page title in the sidebar. If you wish to adjust the HTML title (i.e. name of the tab), you will have to adjust the Hugo's title variable, as shown in the `config.toml`.
Please note that the title under the `[params]` only adjusts the page title in the sidebar. If you wish to adjust the HTML title (i.e. name of the tab), you will have to adjust Hugo's title variable, as shown in the `config.toml`.

Please note that the slogan can be multi-lined (note the three quotes at the beginning and end):

Expand All @@ -92,7 +92,7 @@ Blogging from Texas

### Favicon

Add your favicons to `static/favicons`. Anatole currently employs following favicon files:
Add your favicons to `static/favicons`. Anatole currently employs the following favicon files:

- `favicon.ico`
- `favicon-16x16.png`
Expand All @@ -101,7 +101,7 @@ Add your favicons to `static/favicons`. Anatole currently employs following favi

### Copyright

By default, the copyright will show the authors name followed by the current year, but you can change this by configuring the `copyright` parameter. If this method is used, the string `{{ YEAR }}` will be replaced with the current year during site generation.
By default, the copyright will show the author's name followed by the current year, but you can change this by configuring the `copyright` parameter. If this method is used, the string `{{ YEAR }}` will be replaced with the current year during site generation.

```toml
copyright = "2020-{{ YEAR }}"
Expand Down Expand Up @@ -164,7 +164,7 @@ doNotLoadAnimations = true # Animations are loaded by default

### Control the date Format

You can change the default date formating for the `list.html`, the `single.html` and the `index.html`. Simply configure the matching parameters.
You can change the default date formatting for the `list.html`, the `single.html` and the `index.html`. Simply configure the matching parameters.

```toml
[params]
Expand All @@ -175,7 +175,7 @@ listDateFormat = "Jan 2"

### Change the language names in the language dropdown

The language names displayed on the main menu are controlled by the variables `LanguageName`. You can set these to shortcode, full name or a flag emoji by simply changing the parameter. In the following example English will be displayed as "EN" and Arabic will be displayed as "Arabic".
The language names displayed on the main menu are controlled by the variables `LanguageName`. You can set these to shortcode, full name or a flag emoji by simply changing the parameter. In the following example, English will be displayed as "EN" and Arabic will be displayed as "Arabic".

```toml
[languages]
Expand Down Expand Up @@ -238,7 +238,7 @@ fullPostContent = true

### Multilingual support

Anatole supports multilingual page setups. All you need to do is to add the languages to your 'config.toml'. For each language, you can set the custom options like title or description. It's important to include a `LanguageName`, as it will be displayed in the main menu.
Anatole supports multilingual page setups. All you need to do is to add the languages to your 'config.toml'. For each language, you can set the custom options like title or description. It's important to include a `LanguageName` as it will be displayed in the main menu.

```toml
[Languages]
Expand All @@ -254,7 +254,7 @@ Anatole supports multilingual page setups. All you need to do is to add the lang
LanguageName = "DE"
```

There are two ways of translating your content, either by adding a suffix in the filename, eg. `mypost.de.md`, or by setting a contentDir (a certain directory) for each language. [Link to the Hugo documentation](https://gohugo.io/content-management/multilingual/). If you want to use the option with the `contentDir`, you will have to add the `contentDir` parameter for each language:
There are two ways of translating your content, either by adding a suffix in the filename, e.g. `mypost.de.md`, or by setting a contentDir (a certain directory) for each language. [Link to the Hugo documentation](https://gohugo.io/content-management/multilingual/). If you want to use the option with the `contentDir`, you will have to add the `contentDir` parameter for each language:

```toml
[languages]
Expand Down Expand Up @@ -390,7 +390,7 @@ Replace the hash with the one Google provided you.

### Google Fonts

You can enable any [Google Font](https://fonts.google.com/) by selecting a font on the Google Font website and adding the `family` parameter of the font url to the `googleFonts` option in `[params]`, e.g.:
You can enable any [Google Font](https://fonts.google.com/) by selecting a font on the Google Font website and adding the `family` parameter of the font URL to the `googleFonts` option in `[params]`, e.g.:

```toml
[params]
Expand Down Expand Up @@ -424,7 +424,7 @@ Step 2: Activate the `contact: true` or `contact=true` in the frontmatter of a p

In order to use the full functionality of Twitter cards, you will have to define a couple of settings in the `config.toml` and the frontmatter of a page.

In the `config.toml` you can configure a site feature image. This image will be displayed, if no image is defined in the frontmatter of a page.
In the `config.toml` you can configure a site feature image. This image will be displayed if no image is defined in the frontmatter of a page.

```toml
[params]
Expand Down Expand Up @@ -561,7 +561,7 @@ You can configure the pages shown on the front page by altering the `mainSection

### \_index.md and post section header

You can place custom content, by creating `_index.md` markdown file within the content directory. An example can be found [here](https://github.com/lxndrblz/anatole/blob/exampleSite/content/english/_index.md). Uncomment the section as needed. This file `_index.md` also has a parameter called `mainSectionsTitle`, which lets you specify a header for the posts on the main page. This header will be styled and placed always after the content of the `_index.md` it self.
You can place custom content by creating `_index.md` markdown file within the content directory. An example can be found [here](https://github.com/lxndrblz/anatole/blob/exampleSite/content/english/_index.md). Uncomment the section as needed. This file `_index.md` also has a parameter called `mainSectionsTitle`, which lets you specify a header for the posts on the main page. This header will be styled and always placed after the content of the `_index.md` itself.

### Robots.txt

Expand All @@ -571,7 +571,7 @@ If you want Hugo to generate a robots.txt, you will have to set the `enableRobot
User-agent: *
```

If certain sites should be excluded from being accessed, you might want to setup a custom robots.txt file within your `static` folder of your site.
If certain sites should be excluded from being accessed, you might want to set up a custom robots.txt file within your `static` folder of your site.

### Syntax highlighting

Expand Down Expand Up @@ -600,7 +600,7 @@ customCss = ["css/syntax.css"]

### Socials

You can add social media based icon links under your profile picture by using the `socialIcons` parameter.
You can add social media-based icon links under your profile picture by using the `socialIcons` parameter.

[Font Awesome](https://fontawesome.com/) is used for the icons.

Expand Down
4 changes: 2 additions & 2 deletions exampleSite/content/english/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ aliases = ["about-us", "about-hugo", "contact"]
author = "Hugo Authors"
+++

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 All @@ -20,6 +20,6 @@ Hugo is ideal for blogs, corporate websites, creative portfolios, online magazin

Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases.

Websites built with Hugo are extremelly fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider.
Websites built with Hugo are extremely fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider.

Learn more and contribute on [GitHub](https://github.com/gohugoio).
2 changes: 1 addition & 1 deletion i18n/de.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ other = "Warnung: Dieser Beitrag ist über {{ .Count }} Tage alt. Die Informatio
other = "Seite nicht gefunden"

[page_does_not_exist]
other = "Tut mir Leid, diese Seite existiert leider nicht."
other = "Tut mir leid, diese Seite existiert leider nicht."

[head_back]
other = "Du kannst hier zurück zur <a href=\"{{ . }}\">Startseite</a>."
Expand Down

0 comments on commit 99baec2

Please sign in to comment.