wojciechkozlowski.eu/content/home/hero_carousel.md

57 lines
1.7 KiB
Markdown
Raw Normal View History

2018-08-12 23:57:56 +02:00
+++
# Hero Carousel widget.
2019-02-04 23:42:51 +01:00
widget = "hero_carousel" # Do not modify this line!
active = false # Activate this widget? true/false
2018-08-12 23:57:56 +02:00
# Order that this section will appear in.
weight = 1
# Slide interval.
# Use `false` to disable animation or enter a time in ms, e.g. `5000` (5s).
interval = false
# Minimum slide height.
# Specify a height to ensure a consistent height for each slide.
height = "300px"
# Slides.
# Duplicate an `[[item]]` block to add more slides.
[[item]]
title = "Hello"
content = "I am center aligned :smile:"
align = "center" # Choose `center`, `left`, or `right`.
# Overlay a color or image (optional).
# Deactivate an option by commenting out the line, prefixing it with `#`.
overlay_color = "#666" # An HTML color value.
overlay_img = "headers/bubbles-wide.jpg" # Image path relative to your `static/img/` folder.
overlay_filter = 0.5 # Darken the image. Value in range 0-1.
# Call to action button (optional).
# Activate the button by specifying a URL and button label below.
# Deactivate by commenting out parameters, prefixing lines with `#`.
cta_label = "Get Academic"
cta_url = "https://sourcethemes.com/academic/"
2018-10-01 01:16:12 +02:00
cta_icon_pack = "fas"
2018-08-12 23:57:56 +02:00
cta_icon = "graduation-cap"
[[item]]
title = "Left"
content = "I am left aligned :smile:"
align = "left"
overlay_color = "#555" # An HTML color value.
overlay_img = "" # Image path relative to your `static/img/` folder.
overlay_filter = 0.5 # Darken the image. Value in range 0-1.
[[item]]
title = "Right"
content = "I am right aligned :smile:"
align = "right"
overlay_color = "#333" # An HTML color value.
overlay_img = "" # Image path relative to your `static/img/` folder.
overlay_filter = 0.5 # Darken the image. Value in range 0-1.
+++