{"id":13430946,"url":"https://github.com/Haojen/hexo-theme-Claudia","last_synced_at":"2025-03-16T06:31:41.126Z","repository":{"id":22695341,"uuid":"92602430","full_name":"Haojen/hexo-theme-Claudia","owner":"Haojen","description":"📌 Concisely designed \u0026 easy to config, match dark mode","archived":false,"fork":false,"pushed_at":"2023-12-11T05:44:37.000Z","size":2830,"stargazers_count":818,"open_issues_count":13,"forks_count":135,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-05-20T09:18:17.794Z","etag":null,"topics":["blog","claudia","dark-mode","dark-theme","haojen","hexo","hexo-theme","theme"],"latest_commit_sha":null,"homepage":"https://haojen.github.io/Claudia-theme-blog/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Haojen.png","metadata":{"files":{"readme":"README-CN.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"liberapay":"haojenma","custom":"https://paypal.me/haojenma"}},"created_at":"2017-05-27T14:06:19.000Z","updated_at":"2024-06-21T15:18:03.391Z","dependencies_parsed_at":"2024-06-21T15:18:02.917Z","dependency_job_id":"b4f87e97-0d5a-467a-82de-59891f02ed6b","html_url":"https://github.com/Haojen/hexo-theme-Claudia","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haojen%2Fhexo-theme-Claudia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haojen%2Fhexo-theme-Claudia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haojen%2Fhexo-theme-Claudia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haojen%2Fhexo-theme-Claudia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Haojen","download_url":"https://codeload.github.com/Haojen/hexo-theme-Claudia/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221656491,"owners_count":16858780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blog","claudia","dark-mode","dark-theme","haojen","hexo","hexo-theme","theme"],"created_at":"2024-07-31T02:00:59.200Z","updated_at":"2024-10-27T09:31:13.571Z","avatar_url":"https://github.com/Haojen.png","language":"JavaScript","funding_links":["https://liberapay.com/haojenma","https://paypal.me/haojenma"],"categories":["Content","JavaScript","others"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eClaudia\u003c/h1\u003e\n\u003cp align=\"center\"\u003e \n  设计简洁 \u0026 轻松上手, 跟随系统外观自适应, 90+ Lighthouse 得分\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg  alt=\"Hexo version\" src=\"https://img.shields.io/badge/hexo%20version-%3E%3D%204.2-brightgreen\"\u003e\n  \u003cimg  alt=\"GitHub issues\" src=\"https://img.shields.io/github/issues/Haojen/hexo-theme-Claudia\"\u003e\n  \u003cimg  alt=\"GitHub license\" src=\"https://img.shields.io/github/license/Haojen/hexo-theme-Claudia\"\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003cspan\u003e简体中文 | \u003c/span\u003e \n  \u003ca href=\"README.md\" rel=\"nofollow\"\u003eEnglish\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://haojen.github.io/Claudia-theme-blog/\" rel=\"nofollow\"\u003e预览 Demo\u003c/a\u003e\n\u003c/p\u003e\n\n![cover](./screenshot/claudia-cover-v2.png)\n\n## 更新日志\n[最近更新 11.06.2022](CHANGELOG.md)\n\n\n## 使用\n\n### 依赖下载\n进入到博客项目根目录下运行：\n```bash\n#必要\nnpm install hexo-renderer-pug \nnpm install hexo-renderer-sass\nnpm install hexo-generator-search\n\n#选择性安装\n# 如果需要添加订阅功能\nnpm install hexo-generator-feed\n# 流程图功能\nnpm install hexo-filter-flowchart --save   \n# Emoji\nnpm install hexo-filter-github-emojis --save  \n# 搜索功能\nnpm install hexo-generator-search --save   \n# 数学公式\nnpm install hexo-renderer-mathjax --save\n```\n\n## 用户信息配置\n\n注意: 必须在主题的 `_config.yml` 中配置以下信息, 而非博客根目录下的 `_config.yml`\n\n``` yaml\nuser:\n  name: \n  avatar: /images/avatar.jpg\n  location:\n  description:\n  footnotes:\n\n# config you SNS\nsocial:\n  zhihu:\n  twitter:\n  facebook:\n  linkedin:\n  instagram:\n  github: haojen\n\n# 页面 icon\nfavicon: images/favicon.ico\n\n# 友情链接\nfriend_links:\n  - title: Link1\n    link: https://www.link1.test.com/\n```\n\n### 配置导航栏右上角菜单项\n\n```yaml\n # main menu navigation\n menu:\n   Home: /\n   About: /about\n   Archives: /archives\n```\n\n### 边栏部件配置\n```yaml\nwidgets:\n  - tag\n  - archive\n  - category\n  - recent_posts\n```\n\n### 使用评论系统\n\n#### 1. Utteranc\n对应文档地址: https://utteranc.es/\n\n对应项目地址: https://github.com/utterance/utterances\n\n```yaml\ncomment_utteranc:\n  enable: true\n  repo: Haojen/myBlogRepo # change to your blog repo\n```\n\n#### 2. Valine\n使用文档： https://valine.js.org/quickstart.html\n\n```yaml\ncomment_valine:\n  enable: true\n  appId:\n  appKey:\n```\n\n\n### 夜间模式设置\n```yaml\n# 1.light \n# 2.dark\n# 3.auto (默认，跟随系统外观)\nappearance: auto\n```\n\n## 配置代码高亮\n\nClaudia 自带代码高亮，但在正常使用前，需要您在根目录下 `_config.yml`关闭hexo自带的高亮模块，关闭后记得 `hexo clean` 清理缓存\n```yaml\nhighlight:\n  enable: false\n```\n\n## 统计\n配置谷歌和百度统计\n```yaml\n#Baidu Analytics**\nba_track_id: \n\n#Google Analytics\nga_track_id: \nga_domain:\n```\n\t\n## 创建 About 页面\n在博客根目录下的 `source` 文件夹里创建一个 `about` 文件夹, 然后打开该文件夹, 新建一个 `index.md`, 打开, 将下面这段文本复制到 `index.md` 里保存\n\n```yaml\n---\ntitle: about\ndate: 2017-05-31 10:05:56\nlayout: about\n---\n```\n\t\n## 范例项目展示\n\nhttps://github.com/Haojen/Claudia-theme-blog  \n\n## 最后\n\n如果遇到任何问题或反馈建议，请发起 issue\n\n## 支持我做的更好, 请我喝杯饮料 🥤️\n\u003cimg src=\"./screenshot/BuyMeCoffeeQRCode.png\" width=\"300\"\u003e\n\n## 其他我开发的项目\n- [Hexo-theme-Anisina](https://github.com/Haojen/hexo-theme-Anisina)\n- [Vimkey - 一个浏览器插件，让你用键盘控制浏览器](https://github.com/Haojen/vimkey)\n- [PlanetTab - 一个非常酷的3D动态星球浏览器新标签页](https://github.com/Haojen/planet-tab)\n\n## License\n\nMIT © [HAOZHEN MA](http://haojen.github.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHaojen%2Fhexo-theme-Claudia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHaojen%2Fhexo-theme-Claudia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHaojen%2Fhexo-theme-Claudia/lists"}