feat: add video banner settings

This commit is contained in:
jeffreytse 2021-06-26 12:11:57 +08:00
parent 11edca1890
commit 8f9f335af3

View file

@ -147,11 +147,15 @@ yat:
# These banner settings are for global banner default, but you can also # These banner settings are for global banner default, but you can also
# config it by the front matter for one specific post # config it by the front matter for one specific post
# banner: # banner:
# image: null # video: null # Video banner source
# opacity: 1.0 # loop: true # Video loop
# background: "rgba(0, 0, 0, 0.8)" # volume: 0 # Video volume (100% is 1.0)
# height: "640px" # start_at: 0 # Video start time
# min_height: null # image: null # Image banner source
# opacity: 1.0 # Banner opacity (100% is 1.0)
# background: "rgba(0, 0, 0, 0.8)" # Banner background (Could be a image)
# height: "640px" # Banner default height
# min_height: null # Banner minium height
# heading_style: null # Custom heading style (e.g. "font-weight: bold; text-decoration: underline") # heading_style: null # Custom heading style (e.g. "font-weight: bold; text-decoration: underline")
# subheading_style: null # Custom subheading style (e.g. color: gold) # subheading_style: null # Custom subheading style (e.g. color: gold)