7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-11-25 15:43:17 +00:00
web-ansol.org/content/home/hero.md
2020-06-11 12:50:54 +01:00

2.2 KiB

+++

Hero widget.

widget = "hero" # See https://sourcethemes.com/academic/docs/page-builder/ headless = true # This file represents a page section. active = true # Activate this widget? true/false weight = 10 # Order that this section will appear.

title = "Academic"

Hero image (optional). Enter filename of an image in the static/img/ folder.

hero_media = "hero-academic.png"

[design.background]

Apply a background color, gradient, or image.

Uncomment (by removing #) an option to apply it.

Choose a light or dark text color by setting text_color_light.

Any HTML color name or Hex value is valid.

Background color.

color = "navy"

Background gradient.

gradient_start = "#4bb4e3" gradient_end = "#2b94c3"

Background image.

image = "" # Name of image in static/img/.

image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.

image_size = "cover" # Options are cover (default), contain, or actual size.

image_position = "center" # Options include left, center (default), or right.

image_parallax = true # Use a fun parallax-like fixed background effect? true/false

Text color (true=light or false=dark).

text_color_light = true

Call to action links (optional).

Display link(s) by specifying a URL and label below. Icon is optional for [cta].

Remove a link/note by deleting a cta/note block.

[cta] url = "https://sourcethemes.com/academic/docs/install/" label = "Get Started" icon_pack = "fas" icon = "download"

[cta_alt] url = "https://sourcethemes.com/academic/" label = "View Documentation"

Note. An optional note to show underneath the links.

[cta_note] label = 'Latest release' +++

The Best Way to Create the Website You Want from Markdown (or Jupyter/RStudio)

Build Anything with Widgets

Star