Skip to content

lotusk08/lotusk08.github.io

 
 

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 Deta Space 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 47.7%
  • SCSS 33.9%
  • JavaScript 12.4%
  • Shell 4.9%
  • Ruby 1.1%