Chore/upgrade hexo8 next8#20
Conversation
Document the Hexo + NexT setup, common scripts, posting flow, GitHub Actions deploy pipeline, and collaboration rules so Claude Code has consistent context when working in this repo.
…rances Major dependency bump. Hexo 6.1.0 -> 8.1.2 with all plugins to latest (generator-* v2/v4, renderer-marked v7, renderer-stylus v3, cheerio 1.2.0). NexT theme fully replaced with 8.27.0; customizations re-applied for scheme, avatar, social, footer, and animated heart icon. CI bumped from Node 17 (EOL) to Node 20 LTS in pages.yml; upgraded actions/checkout, setup-node, peaceiris/actions-gh-pages to current majors; deploy step now guarded to master to prevent feature branches from overwriting gh-pages. Replaced Gitalk with Utterances because Gitalk's browser-side OAuth flow exposes client_secret to visitors. Utterances uses a GitHub App and needs no client secret. Gitalk credentials cleared from theme config.
Review Summary by QodoUpgrade to Hexo 8 and Next 8 with comprehensive CSS/JS modernization and component restructuring
WalkthroughsDescription• **Major CSS refactoring**: Reorganized stylesheet structure with new index files for modular component organization, replaced deprecated transition mixins with modern CSS transitions, and added comprehensive dark mode support with CSS custom properties and light-dark() function • **CSS variables and configuration integration**: Converted hardcoded values to hexo-config integrated variables, replaced z-index values (1000-1500) with smaller values (5-50) to fix stacking context issues, and implemented map-based structures for note and label styling • **Layout modernization**: Converted sidebar to sticky positioning on desktop, refactored post header with flexbox layout, redesigned post gallery with overlapping images, and simplified menu and navigation styling across all schemes (Muse, Mist, Pisces, Gemini) • **JavaScript modernization**: Replaced Velocity.js with anime.js for animations, refactored utilities to ES6 arrow functions with async/await patterns, modernized motion system with timeline-based animations, and added new modules for search, analytics, comments, and schedule integration • **Helper and filter improvements**: Refactored helpers as exportable modules, updated Google Fonts API to v2, improved vendor management with multi-CDN support, enhanced comment filters with simplified configuration, and added comprehensive script minification based on feature detection • **New components and features**: Added new tag plugins (link-grid, video, PDF), created new styling components (footer index, post-body, post-footer, highlight index), implemented dynamic CONFIG proxy for lazy loading, added Algolia and local search implementations, and created comprehensive test suites for tag plugins and helpers • **Configuration enhancements**: Added conditional rendering for features (TOC, back-to-top, github-banner, reading-progress, bookmark), improved config merging with deprecation warnings, added support for mobile layout economy and light-dark mode toggle, and implemented navigation tree builder for menu configuration Diagramflowchart LR
A["CSS Refactoring<br/>Maps & Config"] --> B["Modular Structure<br/>Index Files"]
C["JS Modernization<br/>ES6 & anime.js"] --> D["Enhanced Utilities<br/>& Helpers"]
E["Layout Updates<br/>Flexbox & Sticky"] --> F["Improved Components<br/>& Styling"]
G["New Features<br/>Search & Analytics"] --> H["Test Coverage<br/>& Validation"]
B --> I["Modern NexT 8<br/>Theme"]
D --> I
F --> I
H --> I
File Changes1. themes/next/source/css/_variables/base.styl
|
No description provided.