{"id":16061016,"url":"https://github.com/jetsly/ghostdrip","last_synced_at":"2026-02-02T23:04:05.242Z","repository":{"id":27972955,"uuid":"31466239","full_name":"Jetsly/ghostdrip","owner":"Jetsly","description":"Themes for the Ghost blogging platform ","archived":false,"fork":false,"pushed_at":"2018-07-03T03:15:51.000Z","size":888,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-05T09:12:26.387Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"koli/kong-ingress","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jetsly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-28T15:18:56.000Z","updated_at":"2019-02-15T07:29:53.000Z","dependencies_parsed_at":"2022-08-26T11:01:50.040Z","dependency_job_id":null,"html_url":"https://github.com/Jetsly/ghostdrip","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Jetsly/ghostdrip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jetsly%2Fghostdrip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jetsly%2Fghostdrip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jetsly%2Fghostdrip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jetsly%2Fghostdrip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jetsly","download_url":"https://codeload.github.com/Jetsly/ghostdrip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jetsly%2Fghostdrip/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261416301,"owners_count":23155037,"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":[],"created_at":"2024-10-09T04:07:35.553Z","updated_at":"2026-02-02T23:04:00.221Z","avatar_url":"https://github.com/Jetsly.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ghostdrip\nGhost 主题\n\n  ![ghost1](./ghost1.png)![ghost2](./ghost2.png)![ghost3](./ghost3.png)\n \n###目录架构###\n\n```\n├── /assets\n|   ├── /css\n|   ├── /fonts\n|   ├── /images\n|   ├── /js\n├── /partials  \n├── default.hbs\n├── index.hbs [必需]\n├── post.hbs [必需]\n├── page.hbs\n├── tag.hbs\n└── author.hbs\n```\n\n*\t`index.hbs` 和 `post.hbs` 是必须的 – 如果这两个模板文件不存在的话，Ghost就无法正常运行\n*\t`page.hbs` 独立页面模板 --/contact 可以自定义为 page-contact.hbs\n*\t`tag.hbs`  标签页面模板\n*\t`author.hbs` 作者页面模板\n*\t`partials` 是一个特殊的目录。 这个目录包含模板文件\n*\t`assets` 是一个资源的目录。 这个目录包含资源文件\n\n\n####default.hbs####\n基础模板，包含了所有需要出现在每个页面的HTML代码\n\n####index.hbs####\n首页的模板文件\n\n####post.hbs####\n单篇文章的模板文件\n\n\n###全局设置###\n通过`@blog`全局数据存取器，Ghost主题可以使用许多全局设置。\n*\t`{{@blog.url}}` – 在config.js文件中当前环境（配置文件分开发环境和生产环境）下指定的网址\n*\t`{{@blog.title}}` – 设置页面中的博客标题\n*\t`{{@blog.description}}` – 设置页面中的博客描述\n*\t`{{@blog.logo}}` – 设置页面中的博客logo\n\n\n###文章###\n无论是通过使用`foreach`遍历文章列表或者在`post.hbs`内部,可以获取文章信息：\n*\t`{{id}}`– 文章id\n*\t`{{title}}`  – 文章标题\n*\t`{{url}}` – 文章的相对路径\n*\t`{{content}}` – 文章的HTML\n*\t`{{published_at}}` – 文章的发布日期\n*\t`{{author}}` – 作者的详细信息\n\n####作者信息####\n在单篇文章的情况下，可以作者信息：\n*\t`{{author.name}}` – 作者的姓名\n*\t`{{author.email}}` – 作者的Email地址\n*\t`{{author.bio}}` – 作者的自我简介\n*\t`{{author.website}}` – 作者的网址\n*\t`{{author.image}}` – 作者的个人头像\n*\t`{{author.cover}}` – 作者的背景图像\n\n####文章标签####\n在单篇文章的情况下，可以文章标签信息：\n*\t`{{tag.name}}` – 标签的名称\n*\t`{{tags}}`来输出一排以逗号分隔的标签，或者使用`{{tags separator=\"\"}}`来指定分隔符\n\n####文章的SEO优化信息####\n*\t`{{meta_title}}`文章标题\n*\t`{{meta_description}}`文章描述\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjetsly%2Fghostdrip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjetsly%2Fghostdrip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjetsly%2Fghostdrip/lists"}