Commit Graph

3 Commits

Author SHA1 Message Date
Hoang Nguyen 513119c41f Overhaul styling
- Use dart-sass as the transpiler (because of @use at-rule)
  ==> we can't use Bazel anymore -_- ==> go back to multiple GitLab CI/CD jobs
- Modularize scss files (sadly the templated text is still needed to be in the
  main file)
- Add shortcodes: icon, link, admonition, table, mark, spoiler and details
  ==> Vendor some web fonts
- Use the new hugo.{toml,yaml} configuration file (was config.yaml)
- Add render-link hook (to open external links in a new tab)
2023-06-25 00:00:00 +07:00
Hoang Nguyen 630efc656f Some performance optimization
- Don't lazy load the avatar image on home page => Make loading="lazy"
  param in figure shortcode optional
- Only preload IosevkaAile font (the monospace one is only used for code
  block so no need to load early)
2023-06-09 03:01:57 +07:00
Hoang Nguyen df0f1d187b Remove Gemini (hasn't been updated for ages) + clean up repo structure
- Use PageBundle to group static files where possible.
- Remove .Page.Scratch, use direct <link rel="stylesheet".../> instead.
- Some Web optimizations done (font preloading, lazy load images).
- Clean up the layout/ mess by grouping similar contents into 1 file.
- Use /blog for blog posts instead of /posts
2023-06-09 03:01:55 +07:00