summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeffreytse <jeffreytse.mail@gmail.com>2021-06-26 12:11:57 +0800
committerjeffreytse <jeffreytse.mail@gmail.com>2021-06-26 12:11:57 +0800
commit8f9f335af3cdde5bd973305232f91bfad45771a8 (patch)
treeefd223006e4e5c887e7162359ae829e7275d67f1
parent11edca189059cf5bbe78443afbb191e740c6fa60 (diff)
feat: add video banner settings
-rw-r--r--_config.yml14
1 files changed, 9 insertions, 5 deletions
diff --git a/_config.yml b/_config.yml
index a13bb03..be2d483 100644
--- a/_config.yml
+++ b/_config.yml
@@ -147,11 +147,15 @@ yat:
# These banner settings are for global banner default, but you can also
# config it by the front matter for one specific post
# banner:
-# image: null
-# opacity: 1.0
-# background: "rgba(0, 0, 0, 0.8)"
-# height: "640px"
-# min_height: null
+# video: null # Video banner source
+# loop: true # Video loop
+# volume: 0 # Video volume (100% is 1.0)
+# start_at: 0 # Video start time
+# 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")
# subheading_style: null # Custom subheading style (e.g. color: gold)