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:
authorGuillermo Guerrero Ibarra <wolf.fox1985@gmail.com>2021-08-01 02:06:32 +0300
committerGitHub <noreply@github.com>2021-08-01 02:06:32 +0300
commit5138c9ad5e0d207aa0235511e2070c95ef941931 (patch)
tree736dfe4242b8c2dbbc339ad8cd1b29615d83bf95 /README.md
parent65c133001b0da1b4f6e2d8265074403143fd9e98 (diff)
Carousel customizable. (#300)
Co-authored-by: Guillermo Guerrero Ibarra <guillermo.guerrero@deliveroo.co.uk>
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/README.md b/README.md
index e619cdf..d0d0959 100644
--- a/README.md
+++ b/README.md
@@ -260,11 +260,14 @@ image: "img/carousel/template-easy-code.png"
The `weight` field determines the position of the entry. `title` is a text-only field. The `description` field accepts HTML code. And the `image` must contain the relative path to the image inside the `static` directory.
-Once the carousel is configured, it must be explicitly enabled in the `config.toml` file.
+Once the carousel is configured, some options can be defined like: auto play, speed, etc. in the `config.toml` file.
```toml
-[params.carousel]
+[params.carouselHomepage]
enable = true
+ auto_play = true
+ slide_speed = 2000
+ pagination_speed = 1000
```
#### Features