upgrade content for v4.1 dev

This commit is contained in:
George Cushen
2019-02-19 18:09:28 +00:00
parent c50d008881
commit 8a4c5c482f
9 changed files with 104 additions and 28 deletions

View File

@@ -12,8 +12,30 @@ subtitle = ""
# Order that this section will appear in.
weight = 60
# Background (optional).
# Choose from a background color, gradient, or image.
# Choose a dark or light text color, by setting `text_color_light`.
# Delete or comment out (by prefixing `#`) any unused options.
[background]
# Background color.
# color = "navy"
# Background gradient.
gradient_start = "DeepSkyBlue"
gradient_end = "SkyBlue"
# Background image.
# image = "headers/bubbles-wide.jpg" # Name of image in `static/img/`.
# image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.
# Text color (true=light or false=dark).
text_color_light = true
+++
{{% alert note %}}
This is an example of using the *custom* widget to create your own homepage section.
To remove this section, either delete `content/home/teaching.md` or edit the frontmatter of the file to deactivate the widget by setting `active = false`.
This section also demonstrates how to apply the *background* option to create an *image parallax* effect. Backgrounds can be applied to any section.
{{% /alert %}}
To remove this section, either delete `content/home/teaching.md` or edit the front matter of the file to deactivate the widget by setting `active = false`.