{"id":13932889,"url":"https://github.com/chakhsu/pinghsu","last_synced_at":"2025-04-08T09:08:17.677Z","repository":{"id":40414680,"uuid":"82088125","full_name":"chakhsu/pinghsu","owner":"chakhsu","description":"Pinghsu,  A Typecho Theme","archived":false,"fork":false,"pushed_at":"2024-05-04T15:24:28.000Z","size":1707,"stargazers_count":1466,"open_issues_count":30,"forks_count":258,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-04-01T07:49:58.433Z","etag":null,"topics":["php","theme","typecho"],"latest_commit_sha":null,"homepage":"https://www.linpx.com/p/pinghsu-a-typecho-theme.html","language":"PHP","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/chakhsu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"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}},"created_at":"2017-02-15T17:39:53.000Z","updated_at":"2025-03-29T14:53:09.000Z","dependencies_parsed_at":"2024-01-07T14:36:35.143Z","dependency_job_id":"a9199416-3dbc-4ade-8fcc-9c38141f6bc5","html_url":"https://github.com/chakhsu/pinghsu","commit_stats":null,"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chakhsu%2Fpinghsu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chakhsu%2Fpinghsu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chakhsu%2Fpinghsu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chakhsu%2Fpinghsu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chakhsu","download_url":"https://codeload.github.com/chakhsu/pinghsu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247809962,"owners_count":20999816,"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":["php","theme","typecho"],"created_at":"2024-08-07T21:01:19.414Z","updated_at":"2025-04-08T09:08:17.660Z","avatar_url":"https://github.com/chakhsu.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"## Pinghsu Theme\n\n[English](README_en.md)\n\n![](./doc/pinghsu-theme-preview.jpg)\n\n**主题介绍**\n\nPinghsu是一款以前端性能优化为出发点而制作的Typecho主题，同时又兼顾设计美学和视觉传达。主题命名取自作者姓名和其女朋友姓名的最后一个字的港式英文，挣扎于Hsuping还是Pinghsu，最后取为Pinghsu，意为一切都是Ping先Hsu后，即系要听女朋友的话。\n\n**下载地址**\n\nhttps://github.com/chakhsu/pinghsu\n\n**主题预览**\n\nhttps://www.linpx.com\n\n## 主题亮点\n\n - 页面预加载与DNS预解析保证极快访问速度\n - 无JQuery，无前端框架，轻量级\n - 几乎零代码冗余，几乎每句代码都是有意义的\n - HighlightJS代码高亮，支持22种编程代码\n - 响应式设计，支持平板与手机，访问体验甚至优于桌面\n - 支持图片CDN镜像，支持多种文章缩略图设置\n - 支持首页三栏和单栏选择，文章题图和色块\n - 支持文章目录、相关文章与数学公式渲染\n - 支持文章个性化标徽设置，10种标徽选择\n - 支持个人社交按钮，社交分享\n - 主题设置添加XSS检测，评论提交防止触发多次\n - 还有更多亮点等你去发现~\n\n## 更多预览\n\n|首页 - 三栏|首页 - 单栏|\n|:------|:------|\n|![首页-三栏.png](./doc/首页-三栏.png)|![首页-单栏.png](./doc/首页-单栏.png)|\n\n|文章内容页 - 题图|文章内容页 - 目录|\n|:------|:------|\n|![文章内容页-题图.png](./doc/文章内容页-题图.png)|![文章内容页-目录.png](./doc/文章内容页-目录.png)|\n\n|页面内容页|内容页 - 评论|\n|:------|:------|\n|![页面内容页.png](./doc/页面内容页.png)|![内容页-评论.png](./doc/内容页-评论.png)|\n\n|分类页|模板归档页|\n|:------|:------|\n|![分类页.png](./doc/分类页.png)|![模版归档页.png](./doc/模版归档页.png)|\n\n|搜索页|404|\n|:------|:------|\n|![搜索页.png](./doc/搜索页.png)|![404页.png](./doc/404页.png)|\n\n|移动端 - 首页|移动端 - 文章页|移动端 - 分类页|\n|:------|:------|:------|\n|![移动端-首页.png](./doc/移动端-首页.png)|![移动端-内容页.png](./doc/移动端-内容页.png)|![移动端-分类页.png](./doc/移动端-分类页.png)|\n\n## 主题使用\n\n**注意事项**：目前主题仅在 typecho 开发版，PHP7.0 下测试通过，其他情况未作太多测试\n\n到 Github 下载，点击\"Download ZIP\"下载，解压后将文件夹改名为`pinghsu`后上传到 `/usr/themes`，并启用主题。\n\n如果需要更新主题，则先下载最新文件，然后覆盖原文件即可完成更新，部分新增加的功能需要到后台开启才会生效\n\n## 外观设置\n\n外观设置主要分为四部分，分别为 logo、icon 的设置，功能开关，社交按钮设置，图片CDN镜像\n\n使用注意事项都在设置里写得比较清楚了，如果遇到不明白的地方，可以给我留言反馈\n\n下面有几点补充\n\n - CDN设置部分仅仅测试了七牛的，理论上也支持有镜像服务的CDN\n - 创建模板归档页，无论选择了哪个模板都要加上自定义字段`archive`\n\n**独立搜索页**\n\n设置方法看这里：[Here](https://www.linpx.com/p/add-a-separate-search-page-to-the-pinghsu-theme.html)\n\n**文章缩略图**\n\n文章设置缩略图方法有四种，自定义字段`thumb`，文章附件第一张图片，文章内图片，默认缩略图\n\n优先级顺序 ：自定义字段 thumb -\u003e 附件第一张图片 -\u003e 文章图片 -\u003e 默认缩略图 -\u003e 随机图片 -\u003e 无\n\n缩略图尺寸大小，高度至少有250px，宽度大于高度，推荐高度为400px的\n\n**个性化标徽**\n\n个性化标徽出现的地方有首页、分类页，标签页，作者页和相关文章\n\n设置方法是在文章编辑内填写自定义字段，支持的字段如下\n\n`book` 、 `game` 、 `note` 、 `chat` 、 `code` 、 `image` 、 `web` 、 `link` 、 `design` 、 `lock`\n\n**个性化色块**\n\n个性化色块需要到外观设置那开启才能激活使用，色块出现的地方有首页，分类页，标签页，独立搜索页等等\n\n设置方法是在文章编辑内填写自定义字段，支持的字段如下\n\n`blue`、`purple`、`green`、`yellow`、`red`\n\n**友情链接**\n\n如果你想获取跟我一样的友情链接页面，因为是 typecho 开发版，支持在页面内写`\u003cul\u003e\u003cli\u003e`\n\n所以你可以直接在`\u003cul\u003e`内联一个`class=\"flinks\"`,然后在`\u003cli\u003e`插入你的友链，即可\n\n更多设置教程 : [Here](https://www.linpx.com/p/more-detailed-pinghsu-theme-set-tutorial.html)\n\n## 浏览器兼容情况\n\n这个····现代浏览器都兼容····\n\n## Contributing 贡献\n\nAll kinds of contributions (enhancements, new features, documentation \u0026 code improvements, issues \u0026 bugs reporting) are welcome.\n\n欢迎各种形式的贡献，包括但不限于优化，添加功能，文档 \u0026 代码的改进，问题和 bugs 的报告。\n\n## License 许可证\n\nOpen sourced under the MIT license.\n\n根据 MIT 许可证开源。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchakhsu%2Fpinghsu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchakhsu%2Fpinghsu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchakhsu%2Fpinghsu/lists"}