wojciechkozlowski.eu/content/home/teaching.md

42 lines
1.5 KiB
Markdown
Raw Normal View History

2017-11-23 02:41:58 +01:00
+++
# Custom widget.
# An example of using the custom widget to create your own homepage section.
# To create more sections, duplicate this file and edit the values below as desired.
2019-02-04 23:42:51 +01:00
widget = "custom" # Do not modify this line!
active = true # Activate this widget? true/false
2017-11-23 02:41:58 +01:00
# Note: a full width section format can be enabled by commenting out the `title` and `subtitle` with a `#`.
2017-11-29 01:27:29 +01:00
title = "Custom Section"
2017-11-23 02:41:58 +01:00
subtitle = ""
# Order that this section will appear in.
weight = 60
2019-02-19 19:09:28 +01:00
# 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
2017-11-23 02:41:58 +01:00
+++
2019-02-19 19:09:28 +01:00
{{% alert note %}}
2017-11-23 02:41:58 +01:00
This is an example of using the *custom* widget to create your own homepage section.
2019-02-19 19:09:28 +01:00
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`.