summaryrefslogtreecommitdiff
path: root/_config.yml
diff options
context:
space:
mode:
Diffstat (limited to '_config.yml')
-rw-r--r--_config.yml14
1 files changed, 10 insertions, 4 deletions
diff --git a/_config.yml b/_config.yml
index 981fa59..40d9762 100644
--- a/_config.yml
+++ b/_config.yml
@@ -183,11 +183,17 @@ yat:
# Pagination setting
# paginate: 5
-# Photo previewer settings
+# Photo previewer settings (PhotoSwipe 5)
+# the options please refer to: https://photoswipe.com/options/
# 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
+# gallery: "section.main"
+# children: "a.photo-swipe"
+# bgOpacity: 0.8
+# padding:
+# top: 20
+# bottom: 40
+# left: 100
+# right: 100
# Disqus comments
# disqus: