summaryrefslogtreecommitdiff
path: root/_config.yml
diff options
context:
space:
mode:
authorJeffrey Tse <jeffreytse.mail@gmail.com>2023-06-29 15:01:30 +0800
committerJeffrey Tse <jeffreytse.mail@gmail.com>2023-06-30 22:31:47 +0800
commita8c9de315d6680f17217dc0abbc135d23092f344 (patch)
tree1bb41d1721012ee96e14d1e14be2bf33f53e4802 /_config.yml
parent5799ef60383e4bd2378cd716b43e7718d3c09c1c (diff)
feat: photo previewer config options support
Diffstat (limited to '_config.yml')
-rw-r--r--_config.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/_config.yml b/_config.yml
index 59b1c2b..981fa59 100644
--- a/_config.yml
+++ b/_config.yml
@@ -183,6 +183,12 @@ yat:
# Pagination setting
# paginate: 5
+# Photo previewer settings
+# photo_previewer:
+# photo_selectors: "section.main" # Preview specified areas of photos by CSS selectors (It also can be an array)
+# photo_scale: 2 # Adjust the preview scale of photos
+# background_opacity: 0.85 # Background backdrop opacity
+
# Disqus comments
# disqus:
# shortname: "Your Disqus username"