diff options
author | Guillermo Guerrero Ibarra <wolf.fox1985@gmail.com> | 2021-08-01 02:06:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-01 02:06:32 +0300 |
commit | 5138c9ad5e0d207aa0235511e2070c95ef941931 (patch) | |
tree | 736dfe4242b8c2dbbc339ad8cd1b29615d83bf95 /README.md | |
parent | 65c133001b0da1b4f6e2d8265074403143fd9e98 (diff) |
Carousel customizable. (#300)
Co-authored-by: Guillermo Guerrero Ibarra <guillermo.guerrero@deliveroo.co.uk>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |