From b22abdc7f43ef26a63e28e67c7045d73b1ec6a8a Mon Sep 17 00:00:00 2001 From: Emiel Hollander Date: Sun, 7 Oct 2018 10:32:34 +0200 Subject: Add manually setting the summary in page frontmatter --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 069e9b4..f12c6fb 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ If you have cloned the theme, you can run `git pull` inside the theme folder. ### 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 swith languages, add the key `defaultContentLanguage` to your `config.toml` file. For example: +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: ``` defaultContentLanguage = "nl" @@ -64,6 +64,10 @@ Feel free to submit pull requests for other translations of Tale's texts. [Hugo documentation for multilingual sites](//gohugo.io/content-management/multilingual/) +### Custom summaries + +Tale allows for writing the summary of your posts manually by setting the `summary` variable in the page frontmatter. If this variable is not set, the summary that Hugo automatically generates will be used. + ## Acknowledgments Thanks -- cgit v1.2.3