
wutongyuonce/yublog
Developer toolsThis page was translated automatically. Technical details may differ from the original. View the original
Wutongyu's personal site: Astro 5 static generation, black-and-white theme | My Personal Astro Blog
Overview
Wutong Yu's personal site: Astro 7 static generation, black-and-white theme, article browsing, tag categorization, unified archiving, project display, personal profile, friend link information. Top section: WutongRain's Blog, Home / Tags / Archive / Projects / About / Youlian, with only GitHub (this repository), search, and topics on the right side. Current page is bold. X, Instagram, Bilibili, Xiaohongshu, and personal GitHub are on the About page. Homepage, tags, archive, project, about, and friendly link shared BlogIndexLayout and right column. Article details should be formatted separately. Modify the text and data on each page, by blog-content-publisher-skill/SKILL.md (by page). For architecture and SEAM, see docs/Project Analysis.md. - Astro 7 + TypeScript, Markdown / MDX Content Collections (retaining unified Remark / Rehype plugin pipelines) - Content images follow Astro image pipelines: relative paths + |w width tagging, automatic WebP, srcset, width, and lazy loading; public/ Only site-level resources are stored - Article title font structure subset: only downloads the fonts actually used (7.65 MB → 73 KiB) - Body Inter, code DM Mono uses the Latin subset from public/fonts/, does not request Google Fonts - KaTeX styles and fonts are locally packaged (does not depend on CDN), only products are left woff2 - UnoCSS + public/shell.css (navigation, rightbar, archive, about tags, pagination and other shell styles all under one master) - pagefind indexes blogs only and loads them when opening search - astro-expressive-code code blocks - light and dark themes, ClientRouter transitions - background: dot / rose / snow, configured by page; About page closes. Bitmap is divided into 6 levels of transparency strokes; The large screen pitch is zoomed in by about 8000 points (edge supplementation slightly exceeds the limit, not the hard limit), and 1440×900 is still 15px. Canvas background response prefers-reduced-motion (gates are in src/utils/reduced-motion.js) Requires Node.js 22.12+ (recommended for CI 24), and [email protected]. 1. Fork / clone, change to src/config.
Overview (machine translated)
Online Preview · Document Navigation · Development and Deployment · English · Updatelog
Wutongyu’s personal blog, built using Astro 7, TypeScript, and Markdown/MDX. Mainly focused on article reading, while also covering projects, books, videos, games, personal introductions, and friend links; Offers bright and dark themes, optional color accents, full-text search, and full-text RSS.
Pages and articles generate static HTML during construction, so regular reading does not rely on backends. Homepage Last.fm rankings are obtained through runtime interfaces, with comments provided by GitHub Discussions/Giscus.
Page Overview · Main Features · Quick Start · Maintenance Content · Secondary Development · Detailed Documentation
Page Overview
| Page | Routing | What can be done |
|---|---|---|
| Home | / |
Author and social networking, writing passion, time progress, recent five articles, recent book and film travel, Last.fm Seven Days TOP 10 |
| Manuscript | /blogs/ |
Browse all articles, filter by category and tag, eight articles per page, browse freely |
| Tags | /tags/ |
Sort by name or quantity, multi-select tags to get intersection |
| Archive | /archives/ |
Browse the article timeline by year, view categories and tags |
| Article | /blogs/ / |
Read the main text, desktop/mobile directory, parts of the book, random articles, and comments |
| Interesting Notes | /interests/、/interests/ / |
Devices, anime, movies, games, books, and other content; Categories are automatically generated with Markdown files |
| Project | /projects/ |
Display project cards by category |
| About | /about/ |
About the author, maintains a Markdown |
| Youlian | /friends/ |
Recommendation/Two-way Friend Links, Template Exchange, Message Application |
| Subscribe | /rss.xml |
Subscribe to the full body of all published blogs |
The top bar provides article category preview, Shiqu category menu, and the “More” entry. Albums and visit statistics boards are configured external sites. Blog categories use filter addresses like /blogs/#技术, while Shiqu categories use independent static subpages; Neither shares routing mechanisms. Full behavior can be seen in Sites and Pages.
Main Features
- Article Browsing: dynamic categorization, tag AND filtering, pagination and historical restoration, archiving timeline, two parts and two parts, and random reading. Drafts can be previewed in dev, and drafts are excluded from production and RSS.
- Body Writing: Markdown/MDX, code highlighting and folding, KaTeX, prompt boxes, blog link cards, HTML and audio/video embedding.
- Image and Book Shadow Game: Astro image optimization, grid/horizontal scrolling/scrolling, clicking large images and album page-flipping, horizontal cards can choose scoring and date, vertical and square cards can be swiped horizontally or looped according to conditions.
- Reading Experience: Desktop resident directory and mobile floating directory, internal transitions, bright and dark themes, five sets of accent color schemes, responsive font centers, and reduced dynamic effects. Main text, code, and title fonts are loaded locally.
This page was translated automatically. Technical details may differ from the original.
Recommended Tools
Try a different keyword or remove a filter.
Install
npx skillfish add wutongyuonce/yublog