{"id":8394223,"url":"https://github.com/luokailuo/ghost-theme-nanboone","last_synced_at":"2025-07-31T22:32:59.698Z","repository":{"id":217157209,"uuid":"188004583","full_name":"luokailuo/ghost-theme-nanboone","owner":"luokailuo","description":"🌞a ghost theme 一个以图片为主的Ghost主题🌞","archived":false,"fork":false,"pushed_at":"2021-11-03T15:48:25.000Z","size":5742,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-11-25T21:03:41.357Z","etag":null,"topics":["ghost","ghost-blog-theme","ghost-theme","theme"],"latest_commit_sha":null,"homepage":"https://hugotime.github.io/demo/nanboone","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/luokailuo.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,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-05-22T09:18:24.000Z","updated_at":"2021-11-07T13:12:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"168c4ad8-11ca-4fc2-a605-30d4c2adae19","html_url":"https://github.com/luokailuo/ghost-theme-nanboone","commit_stats":null,"previous_names":["thatdada/ghost-theme-nanboone","beyondsea/ghost-theme-nanboone","hupeople/ghost-theme-nanboone","luokailuo/ghost-theme-nanboone"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luokailuo%2Fghost-theme-nanboone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luokailuo%2Fghost-theme-nanboone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luokailuo%2Fghost-theme-nanboone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luokailuo%2Fghost-theme-nanboone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luokailuo","download_url":"https://codeload.github.com/luokailuo/ghost-theme-nanboone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228308243,"owners_count":17899652,"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-blog-theme","ghost-theme","theme"],"created_at":"2024-04-22T19:08:25.382Z","updated_at":"2024-12-05T13:31:14.172Z","avatar_url":"https://github.com/luokailuo.png","language":"CSS","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"## Nanboone\na ghost theme inspired by [TryGhost/Casper](https://github.com/TryGhost/Casper) and [TryGhost/Blog](https://github.com/TryGhost/Blog).          \n一个大图大字体的Ghost主题\n\n## [Live Demo ](https://hugoface.github.io/demo/nanboone/)\n\n\n\n## 一. 安装主题\n\n1. 点击[这里](https://github.com/hugoface/ghost-theme-nanboone/releases)下载主题压缩包\n\n2. 进入自己的Ghost博客后台，点击：SETTINGS-\u003eDesign-\u003eUpload a theme，上传第一步下载的主题包并启用主题\n\n  \n\n\n\n## 二. 自定义主题  \n\n#### 本地安装 Ghost\n\n详细安装步骤请参见 [How to install Ghost locally](https://ghost.org/docs/setup/)\n\n本地安装 Ghost 完成后，进入 Ghost 根目录，运行下面命令启动 Ghost：\n\n```\nghost start\n```\n\n终端输出如下信息\n\n```\n➜  GhostLocal ghost start\n✔ Checking current folder permissions\n✔ Validating config\n✔ Checking memory availability\n✔ Starting Ghost\n\n------------------------------------------------------------------------------\n\nYour admin interface is located at: \n\n    http://localhost:2368/ghost/\n```\n\n打开 `http://localhost:2368/ghost/`，进入 Ghost 后台。\n\n#### 启用主题\n\n下载主题 zip 压缩包，进入本地启动的 Ghost 博客后台，点击：SETTINGS-\u003eDesign-\u003eUpload a theme，上传下载的主题包，`active theme`。\n\n#### 2.1 修改默认样式  \n\n终端`cd` 命令进入`content/themes/nanboone`目录，`yarn install`安装依赖包，安装完成后，运行`yarn run dev` 。\n\n修改主题的样式源文件（位于`/res/css/` 目录），它们将自动编译到 `/assets/css/`目录，即可定义自己喜欢的样式，本地浏览器刷新 `http://localhost:2368` 可以查看修改后的网站样式。   \n\n最后，将`/assets/css/` 目录的文件上传到自己服务器上即可。\n\n#### 2.2 添加评论   \n\n主题默认使用 Disqus 评论系统，注册 Disqus 后将你的 shortname 填入 `partials/comments.hbs` 下面的位置即可：\n\n```\nvar disqus_shortname = '你的 Disqus shortname';\n```\n\n#### 2.3 添加归档页\n\n可参考[这篇文章](https://yehuzi.com/gei-ghostbo-ke-tian-jia-tagsgui-dang-ye/)\n\n#### 2.4 国际化    \n\n目前提供了三个版本的语言（简体/英文/繁体）。启用步骤：登录管理后台，选择 `Setting/General`，在 `Publication Language` 文本框内输入任意(zh-CN/en/zh-TW)后保存即可。     \n\n\n## 三. 截图 \n  \n![](/nanbooness.42f27df9.jpg)    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluokailuo%2Fghost-theme-nanboone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluokailuo%2Fghost-theme-nanboone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluokailuo%2Fghost-theme-nanboone/lists"}