{"id":13432162,"url":"https://github.com/cccyb/hexo-theme-pinghsu","last_synced_at":"2025-03-16T23:30:48.661Z","repository":{"id":215851344,"uuid":"167822810","full_name":"cccyb/hexo-theme-pinghsu","owner":"cccyb","description":"A Hexo theme transplanted from Typecho Theme Pinghsu.","archived":false,"fork":false,"pushed_at":"2019-10-22T09:32:04.000Z","size":3603,"stargazers_count":33,"open_issues_count":5,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-20T09:23:36.736Z","etag":null,"topics":["hexo","hexo-theme","hexo-theme-pinghsu","theme"],"latest_commit_sha":null,"homepage":"https://chenyubo.me","language":"HTML","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/cccyb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-01-27T15:13:43.000Z","updated_at":"2023-05-29T06:35:06.000Z","dependencies_parsed_at":"2024-01-18T14:41:37.034Z","dependency_job_id":"aa988ebc-a317-4a9d-bb27-6e26b705cd23","html_url":"https://github.com/cccyb/hexo-theme-pinghsu","commit_stats":null,"previous_names":["cccyb/hexo-theme-pinghsu"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cccyb%2Fhexo-theme-pinghsu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cccyb%2Fhexo-theme-pinghsu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cccyb%2Fhexo-theme-pinghsu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cccyb%2Fhexo-theme-pinghsu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cccyb","download_url":"https://codeload.github.com/cccyb/hexo-theme-pinghsu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243949823,"owners_count":20373651,"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":["hexo","hexo-theme","hexo-theme-pinghsu","theme"],"created_at":"2024-07-31T02:01:09.057Z","updated_at":"2025-03-16T23:30:48.655Z","avatar_url":"https://github.com/cccyb.png","language":"HTML","funding_links":[],"categories":["Content"],"sub_categories":[],"readme":"## Pinghsu\n\n![](https://user-images.githubusercontent.com/20245829/52165436-baad8b00-273b-11e9-8ae1-2b2eeaa7163d.png)\n\n本主题移植于[chakhsu](https://github.com/chakhsu)的Typecho主题[pinghsu](https://github.com/chakhsu/pinghsu)，将其基于Hexo进行重写。\n\n引用原作者对主题的一句话介绍：\n\n\u003e Pinghsu 是一款以前端性能优化为出发点而制作的 Hexo 主题，同时又兼顾设计美学和视觉传达。\n\n非常感谢原作者写出这么精美的主题供我们使用。\n\n## 更多预览\n\n| 首页  -  三栏                                                | 首页  -  单栏                                                |\n| ------------------------------------------------------------ | ------------------------------------------------------------ |\n| ![](https://ws1.sinaimg.cn/large/c542ee77ly1fzs472hub0j212o0u0x4b.jpg) | ![](https://ws1.sinaimg.cn/large/c542ee77ly1fzs47jccpdj212o0u0asm.jpg) |\n\n| 文章内容页 -  题图                                           | 文章页 -  目录                                               |\n| ------------------------------------------------------------ | ------------------------------------------------------------ |\n| ![](https://ws1.sinaimg.cn/large/c542ee77ly1fzs4ebe3g8j212o0u04c1.jpg) | ![](https://ws1.sinaimg.cn/large/c542ee77ly1fzs4ekgj9zj212o0u0gtj.jpg) |\n\n| 页面内容页                                                   | 归档页                                                       |\n| ------------------------------------------------------------ | ------------------------------------------------------------ |\n| ![](https://ws1.sinaimg.cn/large/c542ee77ly1fzs4et3z9jj212o0u0afa.jpg) | ![](https://ws1.sinaimg.cn/large/c542ee77ly1fzs4eyxefjj212o0u0tdo.jpg) |\n\n| 分类页                                                       | 分类详情页                                                   |\n| ------------------------------------------------------------ | ------------------------------------------------------------ |\n| ![](https://ws1.sinaimg.cn/large/c542ee77ly1fzs4fstfgvj212o0u0af9.jpg) | ![](https://ws1.sinaimg.cn/large/c542ee77ly1fzs4fzojorj212o0u0wkl.jpg) |\n\n| 标签页                                                       | 标签详情页                                                   |\n| ------------------------------------------------------------ | ------------------------------------------------------------ |\n| ![](https://ws1.sinaimg.cn/large/c542ee77ly1fzs4g6fv2xj212o0u0wkg.jpg) | ![](https://ws1.sinaimg.cn/large/c542ee77ly1fzs4gbxbb3j212o0u0wjy.jpg) |\n\n| 移动端  -  首页                                              | 移动端  -  文章页                                            | 移动端  - 归档页                                             |\n| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |\n| ![](https://ws1.sinaimg.cn/large/c542ee77ly1fzs4nqaebfj20yi22ohdz.jpg) | ![](https://ws1.sinaimg.cn/large/c542ee77ly1fzs4nvydnvj20yi22o7g3.jpg) | ![](https://ws1.sinaimg.cn/large/c542ee77ly1fzs4q06qtnj20yi22ok05.jpg) |\n\n| 移动端  -  分类页                                            | 移动端  -  标签页                                            | 移动端  -  详情归档页                                        |\n| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |\n| ![](https://ws1.sinaimg.cn/large/c542ee77ly1fzs4oif8u9j20yi22ownz.jpg) | ![](https://ws1.sinaimg.cn/large/c542ee77ly1fzs4on2tsrj20yi22ogx7.jpg) | ![](https://ws1.sinaimg.cn/large/c542ee77ly1fzs4ot9p54j20yi22ok43.jpg) |\n\n下载地址：[https://github.com/cccyb/hexo-theme-pinghsu](https://github.com/cccyb/hexo-theme-pinghsu)\n\n在线预览：[https://chenyubo.me](https://chenyubo.me)\n\n##  主题亮点\n\n- 页面预加载与DNS预解析保证极快访问速度\n- 无JQuery，无前端框架，无webfont\n- HighlightJS代码高亮，支持22种编程代码\n- 响应式设计，支持平板与手机，访问体验甚至优于桌面\n- 支持图片CDN镜像，支持多种文章缩略图设置\n- 支持首页三栏和单栏选择，文章题图和色块\n- 支持文章目录、相关文章与数学公式渲染\n- 支持文章个性化标徽设置，10种标徽选择\n- 支持个人社交按钮，社交分享\n- 还有更多亮点等你去发现~\n\n## 安装\n\n### 前期准备\n\n\u003e 安装主题前请确保已根据Hexo官方文档已搭建好本地站点，并能正常启动。\n\n参考链接：\n\n- [概述](https://hexo.io/zh-cn/docs)\n- [建站](https://hexo.io/zh-cn/docs/setup)\n\n### 下载主题\n\n进入`Hexo`博客目录下，下载主题至主题`themes`目录下：\n\n```bash\n$ cd your-hexo-site\n$ git clone https://github.com/cccyb/hexo-theme-pinghsu.git themes/pinghsu\n```\n\n### 启用主题\n\n修改根目录下的**站点配置文件**`_config.yml`中的 `theme` 字段为 `pinghsu`:\n\n```yml\n# Extensions\n## Plugins: https://hexo.io/plugins/\n## Themes: https://hexo.io/themes/\ntheme: pinghsu\n```\n\n### 更新主题\n\n进入`Hexo`博客目录下的主题`themes`目录下的`pinghsu`目录：\n\n```bash\n$ cd your-hexo-site/themes/pinghsu\n$ git pull\n```\n\n## 主题设定\n\n### 选择主题外观\n\n主题提供两套外观进行选择，他们是：\n\n- 三栏（three）- 默认三栏\n- 单栏（one）\n\n你可以通过修改`主题配置文件`下的`postListSwitch`字段进行修改：\n\n```yaml\n# 首页文章列表设置\n# 默认三列\n# three: 三列，one：一列\npostListSwitch: three\n```\n\n### 设置网站通用配置\n\n编辑**站点配置文件**`_config.yml`，修改相关配置：\n\n```yml\n# Site\ntitle: 输入你的博客标题\n...\ndescription: 输入你的博客描述\nkeywords: 输入你的博客关键词\nauthor: 输入你的名字\n\n# URL\nurl: 你的域名\n```\n\n### 设置语言和时区\n\n编辑**站点配置文件**`_config.yml`，将 `language` 设置成你所需要的语言。建议明确设置你所需要的语言，例如选用简体中文。将`timezone`设置成你所在的时区，配置如下：\n\n```yml\nlanguage: zh-CN\ntimezone: Asia/Shanghai\n```\n\n目前本主题支持以下语言：\n\n| 语言     | 代码  | 设定示例          |\n| -------- | ----- | ----------------- |\n| 简体中文 | zh-CN | `language: zh-CN` |\n| 繁體中文 | zh-TW | `language: zh-TW` |\n| English  | en    | `language: en`    |\n| 日本語   | ja    | `language: ja`    |\n| Korean   | ko    | `language: ko`    |\n\n默认使用简体中文（zh-CN）语言，如有需要，可以按需进行更改。\n\n#### 禁用Hexo默认自带代码高亮\n由于hexo默认自带的代码高亮配置与主题代码高亮样式有所冲突，所以需要将默认的禁用，后续在主题配置文件中进行代码高亮配置。\n\n编辑**站点配置文件**`_config.yml`：\n\n```yml\n# Writing\n...\nhighlight:\n  enable: false\n  line_number: false\n  auto_detect: false\n  tab_replace: \n```\n\n## 文档\n详细文档见：[文档 | Doc](https://github.com/cccyb/hexo-theme-pinghsu/wiki)\n \n## 感谢\n\n再次感谢原作者[chakhsu](https://github.com/chakhsu)创作出这么精美的主题 [pinghsu](https://github.com/chakhsu/pinghsu) 。\n\n## 贡献\n\n欢迎各种形式的贡献，包括但不限于优化，添加功能，文档 \u0026 代码的改进，问题和 bugs 的报告。\n\n## 许可证\n\n[MIT](https://opensource.org/licenses/MIT)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcccyb%2Fhexo-theme-pinghsu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcccyb%2Fhexo-theme-pinghsu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcccyb%2Fhexo-theme-pinghsu/lists"}