Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/yihui/hugo-xmag.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYihui Xie <xie@yihui.name>2017-08-22 01:20:33 +0300
committerYihui Xie <xie@yihui.name>2017-08-22 01:20:33 +0300
commit00804957491a703978b7ba18797f05aa066a764e (patch)
tree35923368d61fa4088790a9f7b30edb586732eca5
parent57bc2459e262b3106c4ac352f8f5c06dc0cbbcc5 (diff)
no longer provide the use_description option
-rw-r--r--exampleSite/content/about.md10
1 files changed, 1 insertions, 9 deletions
diff --git a/exampleSite/content/about.md b/exampleSite/content/about.md
index 5ef2b71..eabbdc1 100644
--- a/exampleSite/content/about.md
+++ b/exampleSite/content/about.md
@@ -51,19 +51,11 @@ Alternatively, you can provide a banner image:
By default, each summary block on the homepage contains the first 200 letters extracted from all paragraphs of an article. I find Hugo's built in `.Summary` often unsatisfactory (e.g. it may contain headings and code blocks, which really should not go to the summary), so I wrote my own version. It works much better and the size of most summary blocks will be the same, unless certain articles are really short. The length 200 can be customized via `params.summary_length`.
-If you are not satisfied with the automatic summary, you can specify the `description` option in the (YAML) metadata of your Markdown document, and set `use_description` to `true`, e.g.,
+If you are not satisfied with the automatic summary, you can specify the `description` option in the (YAML) metadata of your Markdown document, e.g.,
```yaml
title: "My Cool Post"
description: "Please use this as the summary."
-use_description: true
-```
-
-The `use_description` option can be a global parameter set in `config.toml` if you want to provide custom summaries to all articles on your site.
-
-```toml
-[params]
- use_description = true
```
Each summary block may contain a thumbnail, which is the first image in an article if exists. You can override it by providing the `thumbnail` option in the meta data of your Markdown document, e.g.,