From 00804957491a703978b7ba18797f05aa066a764e Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Mon, 21 Aug 2017 17:20:33 -0500 Subject: no longer provide the use_description option --- exampleSite/content/about.md | 10 +--------- 1 file changed, 1 insertion(+), 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., -- cgit v1.2.3