Source repository for Tingyu Chen's Hexo blog at canonicality.top.
_config.yml: main Hexo configuration_config.particlex.yml: ParticleX theme configurationsource/_posts/: Markdown postssource/about/: About pagesource/categories/: category indexsource/tags/: tag indexsource/images/: site imagesthemes/particlex/: vendored and customised ParticleX theme.github/workflows/pages.yml: GitHub Pages deployment workflow
Install dependencies:
npm installCreate a post:
npm run new -- "Post title"Run the local server:
npm run serverBuild the static site:
npm run buildGenerated files are written to public/, which is not committed.
themes/particlex/source/js/site-effects.jsprovides the click kaomoji animation.themes/particlex/source/js/live2d-widget.jsloads the Live2D widget after the page becomes idle.themes/particlex/source/live2d/waifu-tips.jsonpins the Shizuku pajama model; the text bubble is disabled.- Live2D can be disabled through
live2d.enablein_config.particlex.yml. - Responsive Elaina backgrounds live in
source/images/backgrounds/: separate images are used for the home page, posts, other pages, and narrow screens.
The widget code is loaded from
stevenjoezhang/live2d-widget,
with models served by
fghrsh/live2d_api. It is not loaded on
small screens, reduced-motion setups, or data-saving connections.
Posts live in source/_posts/ and are written in Markdown:
---
title: Notes on a Chapter of Quantum Mechanics
date: 2026-06-03
categories:
- Physics
tags:
- quantum mechanics
- notes
---
Post content...Current categories include:
PhysicsAICodingNotes
Pushes to main trigger GitHub Actions, which builds the Hexo site and deploys public/ to GitHub Pages. The repository's Pages source must be set to GitHub Actions.