Skip to content
Permalink
Browse files

Update README

Move menu section to chapter on configuration
  • Loading branch information...
EmielH committed Oct 27, 2019
1 parent 5f55975 commit 05c117cdf25a1d69b4e3c8f0d97dbdaf884d5fad
Showing with 19 additions and 19 deletions.
  1. +19 −19 README.md
@@ -36,7 +36,23 @@ Alternatively, you can tell Hugo to use the theme with the `server` command.
hugo server -t tale
```

#### Menu
### Additional information

For more information, read the official [setup guide](https//gohugo.io/overview/installing/) of Hugo.

### Update the theme

If you have installed the theme as a git submodule, you can update the theme by issuing the following command inside your project folder.

```
git submodule update --remote --rebase
```

If you have cloned the theme, you can run `git pull` inside the theme folder.

## Configuration

### Menu

The top menu uses [Hugo Menus](https://gohugo.io/content-management/menus/), with the name of the menu being `main`. To turn on the menu, follow the steps there - you can either add something like this to the front-matter of your pages:

@@ -72,22 +88,6 @@ Or if you want more control, add a specific entry for each item in your menu:

For menu internationalization/translation, see [Multilingual Mode: Menus](https://gohugo.io/content-management/multilingual/#menus).

### Additional information

For more information, read the official [setup guide](https//gohugo.io/overview/installing/) of Hugo.

### Update the theme

If you have installed the theme as a git submodule, you can update the theme by issuing the following command inside your project folder.

```
git submodule update --remote --rebase
```

If you have cloned the theme, you can run `git pull` inside the theme folder.

## Configuration

### Internationalisation (i18n)

Tale supports using other languages than English. Language files for the texts Tale uses are provided in the `i18n` directory. The default language is English. To switch languages, add the key `defaultContentLanguage` to your `config.toml` file. For example:
@@ -150,11 +150,11 @@ css = ["custom.css", "custom2.css"]

## Acknowledgments

Thanks
Thanks

- to [Chester How](//github.com/chesterhow) for creating the original [Tale theme for Jekyll](https://chesterhow.github.io/tale/),
- to [onedrawingperday](//github.com/onedrawingperday), [bep](//github.com/bep) and [digitalcraftsman](//github.com/digitalcraftsman) for their help in getting the theme working correctly with Hugo,
- to [lucperkins](https://github.com/lucperkins) for the [Fresh theme](https://github.com/lucperkins/hugo-fresh) from which I used some useful snippets of code.

## License
See [LICENSE](https://github.com/EmielH/tale-hugo/blob/master/LICENSE).
See [LICENSE](https://github.com/EmielH/tale-hugo/blob/master/LICENSE).

0 comments on commit 05c117c

Please sign in to comment.
You can’t perform that action at this time.