From 71ae6d1e825fdb782328653f121651dc515b29e9 Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Mon, 20 Apr 2020 19:08:56 +0800 Subject: Optional lazy image instead of global set --- exampleSite/config.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'exampleSite/config.toml') 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" -- cgit v1.2.3