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

github.com/devcows/hugo-universal-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorg0hl1n <g0hl1n@users.noreply.github.com>2021-08-02 02:10:49 +0300
committerGitHub <noreply@github.com>2021-08-02 02:10:49 +0300
commitabd457f0d0199243eedbbb985df0d51608f6d45e (patch)
tree3b0539da2b13e664b14cc4d9ec1ebaf74219ca93 /README.md
parente265efc6bf6c290bd46c545c98f5ad892fb06857 (diff)
Add recent posts parameter to hide summary (#283)
Introduce a recent_posts.hide_summary flag to not show the contents summary in the recent posts section. Signed-off-by: Richard Leitner <dev@bubus.at>
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index cf9c14e..d1ff751 100644
--- a/README.md
+++ b/README.md
@@ -400,7 +400,7 @@ Then, you can enable the section in the configuration file.
#### Recent posts
-The recent posts sections shows the four latest published blog posts, with their featured image and a summary. It defaults to show recent posts from all [main sections](https://gohugo.io/functions/where/#mainsections). This is either the section with the most posts or can be set explicitly in the configuration file (see linked docs).
+The recent posts sections shows the four latest published blog posts, with their featured image and an optional summary. It defaults to show recent posts from all [main sections](https://gohugo.io/functions/where/#mainsections). This is either the section with the most posts or can be set explicitly in the configuration file (see linked docs).
You can enable it in the configuration file.
@@ -409,6 +409,7 @@ You can enable it in the configuration file.
enable = true
title = "From our blog"
subtitle = "Pellen
+ hide_summary = false
```