summaryrefslogtreecommitdiffstats
path: root/exampleSite/config.toml
diff options
context:
space:
mode:
authoramzrk22020-04-20 19:08:56 +0800
committeramzrk22020-04-20 19:08:56 +0800
commit71ae6d1e825fdb782328653f121651dc515b29e9 (patch)
tree6034b286caf5803c29469821b49d99a717d7ac92 /exampleSite/config.toml
parent338f934a2a252b018af2cba56eac956577780147 (diff)
downloadhugo-theme-fuji-71ae6d1e825fdb782328653f121651dc515b29e9.tar.gz
hugo-theme-fuji-71ae6d1e825fdb782328653f121651dc515b29e9.tar.bz2
hugo-theme-fuji-71ae6d1e825fdb782328653f121651dc515b29e9.zip
Optional lazy image instead of global set
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r--exampleSite/config.toml10
1 files changed, 8 insertions, 2 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index fd7113c..51e802e 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -54,8 +54,14 @@ paginate = 10
disqusComment = false
disqusShortname = "[ENTER YOUR DISQUS SHORTNAME HERE]"
- # Custom lazyload thumbnail
- cdnLazyloadSRC = "https://cdn.jsdelivr.net/gh/amzrk2/poal-jsdelivr@1.0.0/lazyload/dsr_loading.svg"
+ # Custom lazyload placeholder
+ # 16:9
+ cdnLazyPlaceholder = "https://cdn.jsdelivr.net/gh/amzrk2/poal-jsdelivr@1.1.0/lazyload/dsrca_loading_480x270.svg"
+ # 32:9
+ cdnLazyPlaceholderRow = "https://cdn.jsdelivr.net/gh/amzrk2/poal-jsdelivr@1.1.0/lazyload/dsrca_loading_960x270.svg"
+ # 8:9
+ cdnLazyPlaceholderCol = "https://cdn.jsdelivr.net/gh/amzrk2/poal-jsdelivr@1.1.0/lazyload/dsrca_loading_480x540.svg"
+
# Custom css & js CDN
# cdnIntersectionObserverJS = "https://cdn.jsdelivr.net/npm/intersection-observer@0.7.0/intersection-observer.min.js" # Optional
cdnVanillaLazyloadJS = "https://cdn.jsdelivr.net/npm/vanilla-lazyload@15.1.1/dist/lazyload.min.js"