{"id":13693763,"url":"https://github.com/Showfom/Affinity","last_synced_at":"2025-05-02T22:30:38.126Z","repository":{"id":74610498,"uuid":"90746200","full_name":"Showfom/Affinity","owner":"Showfom","description":"Affinity is a clean, minimal, modern theme that focus on content for Ghost.","archived":true,"fork":false,"pushed_at":"2019-12-16T13:35:22.000Z","size":5151,"stargazers_count":137,"open_issues_count":2,"forks_count":21,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-11-12T19:42:12.479Z","etag":null,"topics":["ghost","ghost-theme","ghost-themes"],"latest_commit_sha":null,"homepage":"https://sb.sb/ghost-theme-affinity/","language":"CSS","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/Showfom.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2017-05-09T13:00:58.000Z","updated_at":"2024-08-09T16:01:05.000Z","dependencies_parsed_at":"2023-03-11T17:28:07.172Z","dependency_job_id":null,"html_url":"https://github.com/Showfom/Affinity","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Showfom%2FAffinity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Showfom%2FAffinity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Showfom%2FAffinity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Showfom%2FAffinity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Showfom","download_url":"https://codeload.github.com/Showfom/Affinity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252115885,"owners_count":21697261,"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":["ghost","ghost-theme","ghost-themes"],"created_at":"2024-08-02T17:01:17.087Z","updated_at":"2025-05-02T22:30:33.083Z","avatar_url":"https://github.com/Showfom.png","language":"CSS","funding_links":[],"categories":["CSS"],"sub_categories":[],"readme":"![](https://cdn.loli.net/sb.sb.sb/post-images/affinity.png)\n\n## Getting Started\n\nAffinity is a clean, minimal, modern theme that focus on content for Ghost.\n\nAffinity it is 100% responsive, that means it fits with all different kind of devices in different sizes.\n\nAffinity is compiled with ToC (table of contents) and pagination without any Ghost apps.\n\n## Install Manually\n\nDownload the compiled and minified ZIP file [here](https://u.nu/affinity) or [here](https://u.nu/affinity-github-releases).\n\nUnpack and upload the full folder `affinity` to `/your/path/to/ghost/content/themes`\n\nOr\n\nSimple upload the `affinity.zip` on `http(s)://example.com/ghost/settings/general/`\n\nActive it\n\n## Source \u0026 Credit\n\n### JavaScript / Jquery\n* jQuery [https://jquery.com/](https://jquery.com/)\n* Highlight.js [https://highlightjs.org/](https://highlightjs.org/)\n* jQuery ToC and Pagination by [@JixunMoe](https://jixun.moe/)\n\n### CSS Framework\n* Spectre.css [https://picturepan2.github.io/spectre/](https://picturepan2.github.io/spectre/)\n\n## Author\n* [@Showfom](https://github.com/Showfom)\n* [@Picturepan2](https://github.com/picturepan2)\n* [@JixunMoe](https://github.com/JixunMoe)\n\n## Browser support\n\n* Chrome (last 4)\n* Microsoft Edge (last 4)\n* Firefox (last 4)\n* Safari (last 4)\n* Opera (last 4)\n* Internet Explorer 10+\n\n## Screenshots\n\n### Desktop\n\n![](https://cdn.loli.net/sb.sb.sb/post-images/affinity-desktop.png?v=1.2.0)\n\n### iPad\n\n![](https://cdn.loli.net/sb.sb.sb/post-images/affinity-ipad.png?v=1.2.0)\n\n![](https://cdn.loli.net/sb.sb.sb/post-images/affinity-ipad-2.png?v=1.2.0)\n\n### Mobile\n\n![](https://cdn.loli.net/sb.sb.sb/post-images/affinity-mobile.png?v=1.2.0)\n\n## Live Demo\n\nN/A\n\n## Getting Support\n\nFeel free to post a new [Github issue](https://github.com/Showfom/Affinity/issues) or leave comments on https://sb.sb/ghost-theme-affinity/\n\n## Tips\n\n### Blog logo\n\nGo to `http(s)://example.com/ghost/settings/general/` and upload your logo\n\n### Favicon\n\nReplace your `favicon.ico` with `/your/path/to/ghost/content/themes/affinity/favicon.ico`\n\n### Comments\n\nWe recommend use [Isso](https://github.com/posativ/isso) (self-hosted) or Disqus (third-party) or similar services, it's your own choice, Affinity is only compiled with [Isso](https://sb.sb/debian-8-ubuntu-16-04-install-isso/)\n\nThe simplest way is insert your JS code to `/your/path/to/ghost/content/themes/affinity/post.hbs`\n\nunder\n\n```html\n\u003cdiv class=\"content-post-comments\"\u003e\n    \u003cdiv class=\"btn btn-primary btn-block\"\u003ePost your comments here\u003c/a\u003e\u003c/div\u003e\n\u003c/div\u003e\n```\n\n### ToC (table of contents) / Pagination\n\nWe use jQuery, you don't need to change anything else.\n\n## License\n\nWe publish Affinity under [MIT License](https://github.com/Showfom/Affinity/blob/master/LICENSE)\n\n## Changelog\n\nv1.4.0 - Compatible with Ghost 1.0.2, for users who are still using Ghost \u003c= 0.11.0, please use v1.2.0 instead.\n\nv1.2.0 - Bug fix.\n\nv1.0.0 - First public release.\n\n## 中文说明\n\nAffinity 是一款免费小清新的 Ghost 响应式博客主题，由[烧饼博客](https://sb.sb/)制作\n\nAffinity 采用 jQuery 实现了章节目录和首页分页功能，不需要任何的 Ghost 插件\n\n## 安装教程\n\n在[这里](https://u.nu/affinity)下载最新打包 .zip 版本或在[这里](https://u.nu/affinity-github-releases)获取所有的发布版本\n\n解压 zip 文件，然后上传 `affinity` 目录到 Ghost 的 `themes` 文件夹，如 `/your/path/to/ghost/content/themes`\n\n或者直接把 `affinity.zip` 上传到 Ghost 后台，如 `http(s)://example.com/ghost/settings/general/`\n\n然后激活即可\n\n## JS 框架\n\n### JavaScript / Jquery\n* jQuery [https://jquery.com/](https://jquery.com/)\n* Highlight.js [https://highlightjs.org/](https://highlightjs.org/)\n* jQuery ToC and Pagination by [@JixunMoe](https://jixun.moe/)\n\n### CSS 框架\n* Spectre.css [https://picturepan2.github.io/spectre/](https://picturepan2.github.io/spectre/)\n\n## 作者\n* [@Showfom](https://github.com/Showfom)\n* [@Picturepan2](https://github.com/picturepan2)\n* [@JixunMoe](https://github.com/JixunMoe)\n\n## 浏览器支持\n\n* Chrome (last 4)\n* Microsoft Edge (last 4)\n* Firefox (last 4)\n* Safari (last 4)\n* Opera (last 4)\n* Internet Explorer 10+\n\n## 截图预览\n\n### 桌面浏览器\n\n![](https://cdn.loli.net/sb.sb.sb/post-images/affinity-desktop.png?v=1.2.0)\n\n### iPad\n\n![](https://cdn.loli.net/sb.sb.sb/post-images/affinity-ipad.png?v=1.2.0)\n\n![](https://cdn.loli.net/sb.sb.sb/post-images/affinity-ipad-2.png?v=1.2.0)\n\n### 手机\n\n![](https://cdn.loli.net/sb.sb.sb/post-images/affinity-mobile.png?v=1.2.0)\n\n## 在线演示\n\n暂无\n\n## 获取支持\n\n如有疑问，可以直接提交 [Github issue](https://github.com/Showfom/Affinity/issues) 或者在烧饼博客[留言](https://sb.sb/ghost-theme-affinity/)\n\n## 小技巧\n\n### 左上方 Logo\n\n进入 Ghost 后台 `http(s)://example.com/ghost/settings/general/` 上传 Logo 即可\n\n### Favicon\n\n替换 `favicon.ico` 到 `/your/path/to/ghost/content/themes/affinity/favicon.ico`\n\n### 评论\n\n推荐使用 [Isso](https://github.com/posativ/isso) (自己搭建) 或 Disqus (第三方) 等相关服务, Affinity 目前只适配了 [Isso](https://sb.sb/debian-8-ubuntu-16-04-install-isso/) 的风格\n\n直接引用你的评论 JS 代码到 `/your/path/to/ghost/content/themes/affinity/post.hbs`\n\n在\n\n```html\n\u003cdiv class=\"content-post-comments\"\u003e\n    \u003cdiv class=\"btn btn-primary btn-block\"\u003ePost your comments here\u003c/a\u003e\u003c/div\u003e\n\u003c/div\u003e\n```\n\n这段 HTML 下方即可\n\n### 章节目录 (table of contents) / 首页分页\n\n我们使用 jQuery 实现，不需要装任何第三方 Ghost 插件\n\n## 版权声明\n\nAffinity 采用 [MIT License](https://github.com/Showfom/Affinity/blob/master/LICENSE) 发布\n\n## 发布日志\n\nv1.4.0 - 兼容 Ghost 1.0.2 使用 0.11.0 及以下版本的用户请勿升级\n\nv1.2.0 - 修复 Bug\n\nv1.0.0 - 首次公开发布主题\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FShowfom%2FAffinity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FShowfom%2FAffinity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FShowfom%2FAffinity/lists"}