diff options
author | amzrk2 | 2020-04-20 19:08:56 +0800 |
---|---|---|
committer | amzrk2 | 2020-04-20 19:08:56 +0800 |
commit | 71ae6d1e825fdb782328653f121651dc515b29e9 (patch) | |
tree | 6034b286caf5803c29469821b49d99a717d7ac92 /exampleSite | |
parent | 338f934a2a252b018af2cba56eac956577780147 (diff) | |
download | hugo-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')
-rw-r--r-- | exampleSite/config.toml | 10 |
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" |