Using Jekyll with Chirpy theme, host in Github with submodule, deployed by Cloudflare
Deploy & public by Cloudflare
Fix error Gems in the groups 'development' and 'test' were not installed.
in Cloudflare with config the variables for your Preview/Production environment
Variable name | Value |
---|---|
BUNDLE_WITHOUT | "" |
Comment system by Waline
Deploy & running on Vercel with MongoDB Sync dark/light theme color config in waline.html
const updateCssForDarkMode = () => {
const head = document.head;
const css = head.lastChild;
const cssContent = css.textContent.replace("__waline__css__", "");
const cssContentPreferredDark = `@media (prefers-color-scheme: dark){html:not([data-mode])${cssContent}}`;
const cssContentSelectedDark = `html[data-mode=dark]${cssContent}`;
css.textContent = cssContentPreferredDark;
const style = document.createElement('style');
style.textContent = cssContentSelectedDark;
head.appendChild(style);
};
updateCssForDarkMode();
Low Quality Image Placeholders by lqip-modern generator
Generation lqip base64 by running script:
node tools/lqip/index.js