Skip to content

Latest commit

 

History

History
77 lines (60 loc) · 3.11 KB

README.md

File metadata and controls

77 lines (60 loc) · 3.11 KB

My personal blog's source code

Gem Version  CI  Codacy Badge  GitHub license  npm  Cloudflare  DMCA

Using Jekyll with Chirpy theme, host in Github with submodule, deployed by Cloudflare

Live site

stevehoang.com

Optimized pagespeed

stevehoang.com

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

stevehoang.com

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