Skip to content

lotusk08/lotusk08.github.io

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Sources code of my blog

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Languages

  • HTML 46.0%
  • SCSS 33.7%
  • JavaScript 14.5%
  • Shell 4.7%
  • Ruby 1.1%