Repository navigation
style: restyle osdt-tech theme, publish under hellogcc.org - #6
Merged
Merged
Conversation
- Replace the neon dark template with a light-first palette that follows prefers-color-scheme, system font stack, no CDN assets - Split header/footer into partials, add inline SVG GitHub icon, active menu state and optional footer friend links - Simplify home: hero with metrics, latest posts grid, README timeline - Content-only sections (about/authors/resources) render as prose
- Set baseURL to https://hellogcc.org/ and ship static/CNAME so the Pages artifact keeps the custom domain binding - Add tagline/heroSubtitle copy and footer friend links params
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要 / Summary
把
osdt-tech主题从霓虹深色模板改为与 HelloLLVM / CNRV / 甲辰计划等站点共用的设计语言(浅色为底、跟随系统深色模式、系统字体栈、卡片),并补齐自定义域名发布所需的两处配置。Restyle the
osdt-techtheme with the design language shared by the sibling community sites, and add the two bits of config needed to publish under the custom domain.改动 / Changes
themes/osdt-tech/assets/css/main.css重写为 token 体系;去掉网格背景与发光效果;无外部字体 / CDNhugo.toml:baseURL改为https://hellogcc.org/;新增static/CNAME(与已关闭的 Align Hugo output with GitHub Pages custom domain hellogcc.org #5 相同的两处);tagline/heroSubtitle文案;页脚friendLinks(不想要可整段删除)线上 hellogcc.github.io 目前仍是旧的 Jekyll 列表页,而不是仓库里的 Hugo 站点。原因:Pages 的发布源仍是 Deploy from a branch,GitHub 自带的 Jekyll 会从
main根目录的index.md构建并覆盖hugo.yml的部署结果(两次 deployment 是同一个 sha,线上style.css?v=<sha>就是 Jekyll 构建的痕迹)。请在 Settings → Pages → Build and deployment → Source 切换为 GitHub Actions,合并本 PR 后站点即以 Hugo 输出发布。另外
hellogcc.org目前只是 301 跳转到 hellogcc.github.io;若希望直接以 hellogcc.org 访问,需把域名的 DNS 指向 GitHub Pages。验证 / Verification
hugo --gc --minify用 0.123.7(CI 版本)与 0.148.2 均构建无错误;产物根目录含CNAME🤖 Generated with Claude Code