diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index b5aaffbd..55802a3e 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1159,6 +1159,13 @@ body:has(#menu-controller:checked) { margin-right: 0px; } +/* LQIP */ + +picture > img { + -webkit-backdrop-filter: blur(10px); + backdrop-filter: blur(10px); +} + /* Code Copy */ .highlight-wrapper { diff --git a/assets/css/main.css b/assets/css/main.css index 42970fe0..90346eb2 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -73,6 +73,11 @@ body:has(#menu-controller:checked) { @apply rtl:mr-0; } +/* LQIP */ +picture > img { + backdrop-filter: blur(10px); +} + /* Code Copy */ .highlight-wrapper { @apply block; diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index d828f120..07d60bc9 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -12,6 +12,8 @@ autoSwitchAppearance = true enableSearch = true enableCodeCopy = true enableImageLazyLoading = true +enableWebp = true +enableLqip = true # robots = "" fingerprintAlgorithm = "sha256" diff --git a/exampleSite/content/samples/markdown/index.md b/exampleSite/content/samples/markdown/index.md index 601fae2a..d9f91110 100755 --- a/exampleSite/content/samples/markdown/index.md +++ b/exampleSite/content/samples/markdown/index.md @@ -9,6 +9,10 @@ This article offers a sample of basic Markdown formatting that can be used in Co +## Image + +![sample image](thumb-surendran-mp-IhWYiwSxm8g-unsplash.jpg) + ## Headings The following HTML `