Ghost 默认主题 Casper v2 的 Jekyll 移植版本
blog (CaptMD-11) — Jekyll 博客模板
作者 CaptMD-11
Jasper2 是 Ghost 默认主题 Casper v2 的 Jekyll 移植版本,面向 GitHub Pages 等静态托管,支持多作者、标签页与分页。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
目前有 1 张原始预览,可打开完整图片查看设计细节。
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
通过 _data/authors.yml 支持多作者,含头像、简介与社交链接
通过 _data/tags.yml 配置标签描述和个性化封面
包含作者页、标签页、关于页、404 等 Ghost 默认页面
支持无限滚动或标准分页,并由 jekyll-feed 生成 Atom 订阅源
使用 highlight.js 做代码高亮,可选接入 Google Analytics 与 Disqus
模板详细介绍
Jasper2 把 Ghost 默认主题 Casper v2 完整移植到 Jekyll,可部署在 GitHub Pages 或其它 Jekyll 兼容的静态托管上。主题通过 _data/authors.yml 管理多作者信息(头像、简介、网站、Twitter、Facebook 等),通过 _data/tags.yml 配置标签描述与封面,并包含作者页、标签页、关于页、404 等 Ghost 默认页面,每篇文章底部提供相关文章视图。
内容组织上支持无限滚动或标准分页两种翻页方式,由 jekyll-feed 生成 Atom 订阅源,代码高亮使用 highlight.js,可选接入 Google Analytics 与 Disqus 评论,订阅按钮需要外部服务支持。样式沿用 Casper 的编译方式,使用 Gulp/PostCSS 处理 /assets/css/ 并输出到 /assets/built/,需要本地安装 Node 与 Gulp。
部署方式包括 GitHub Actions 构建后推送 gh-pages 分支、本地 bundle exec jekyll serve 生成 _site 后上传、Travis CI 自动构建,或交给 Netlify 等 Jekyll 兼容托管。README 说明该主题在 Ruby 2.6.3 与 Jekyll 3.9.0 下构建正常。使用作者页时需把每篇文章 front matter 中的 author 字段改为与 authors.yml 中 username 一致。
适合你的项目吗?
适用场景
- 用 Jekyll 搭建带多作者的个人或团队博客
- 在 GitHub Pages 上发布静态博客并保留 Casper 风格
- 需要作者页、标签页和相关文章视图的内容站点
- 希望用 Gulp/PostCSS 自定义 Casper 样式的前端开发者
适合人群
- 使用 Jekyll 或 GitHub Pages 的博客作者
- 需要多作者与标签分类的站点维护者
- 希望沿用 Ghost Casper 视觉风格的项目
- 能接受本地 Node/Gulp 编译样式的开发者
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
作者页需将文章 front matter 的 author 字段改为与 _data/authors.yml 中 username 一致
- 2
样式修改在 /assets/css/ 进行,需先 npm install 再运行 gulp 编译到 /assets/built/
- 3
本地预览可执行 bundle exec jekyll serve,生成内容位于 _site/
- 4
订阅按钮依赖外部服务,Google Analytics 与 Disqus 为可选配置
- 5
README 说明该主题在 Ruby 2.6.3 与 Jekyll 3.9.0 下构建正常
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 订阅按钮为可选项,启用后需依赖外部服务(如邮件订阅服务)才能工作,不接入外部服务时该功能不可用。
- Google Analytics 跟踪为可选功能,启用后需自行提供 Google Analytics 账号与跟踪 ID,并受 Google 服务条款约束。
- Disqus 评论为可选功能,启用后需注册 Disqus 账号并配置站点短名,评论数据由第三方 Disqus 托管。
- 修改样式需在本地全局安装 Node 与 Gulp,并运行 npm install 与 gulp 编译,未安装则无法自定义 CSS。
- README 说明该主题在 Ruby 2.6.3 与 Jekyll 3.9.0 下构建正常,使用其他版本可能遇到兼容问题。
- 使用作者页时必须把每篇文章 front matter 中的 author 字段改为与 _data/authors.yml 中对应作者的 username 一致,否则作者页无法正确生成。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
Toggleable subscribe button (requires an external service)
README 原文
Support for Google Analytics tracking
README 原文
Support for Disqus comments (not Ghost standard)
README 原文
You'll need Node and Gulp installed globally.
README 原文
This install builds well with Ruby v2.6.3 and Jekyll v3.9.0.
README 原文
https://github.com/CaptMD-11/blog/blob/master/LICENSEhttps://github.com/CaptMD-11/blog/blob/master/README.mdyou need to rename the field *author* in the front matter of every post to match that of your each author's *username* as defined in the *[\_data/authors.yml](_data/authors.yml)* file.
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料一般 · 68 / 100
- 技术栈
- Jekyll
- 网站类型
- 博客
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2024-05-14
- 截图检查日期
- 2026-10-02
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Jekyll。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: cc081a5793ff4a7fcd3d329c7b3ffb25ad54de4fd6a8c0a07f4c8a0b30d2ba74
2026-10-02T17:39:30.711Z
来源文件 / 仓库## Jasper2 [](https://github.com/jekyllt/jasper2/actions/workflows/jekyll_build.yml) [](http://travis-ci.org/jekyllt/jasper2) [](http://travis-ci.org/jekyllt/jasper2) This is a full-featured port of Ghost's default theme [Casper](https://github.com/tryghost/casper) [v2.1.9](https://github.com/TryGhost/Casper/releases/tag/2.1.9) for [Jekyll](https://jekyllrb.com/) / [GitHub Pages](https://pages.github.com/). ## Live Demo [Ghost's Casper](https://demo.ghost.io) // [Jasper2](https://jekyllt.github.io/jasper2)  ## Features * Out of the box support for multiple authors (via `_data/authors.yml`) * Full author information including: picture, bio, website, twitter, facebook, etc. * Tag description(s) and personalised covers (via `_data/tags.yml`) * Related posts view at the bottom of each post * All Ghost default pages: Author page(s), Tag page(s), About page(s), 404, etc. * Pagination (infinite scrolling or standard pagination, i.e. posts across multiple pages) * Atom Feeds by [Jekyll-feed](https://github.com/jekyll/jekyll-feed) * Toggleable subscribe button (requires an external service) * Code Syntax Highlight with [highlight.js](https://highlightjs.org/) * Support for Google Analytics tracking * Support for Disqus comments (not Ghost standard) ## Getting Started ### Deployment There are several alternatives to building and deploying the site: 1. build the site with [GitHub Actions](https://github.com/features/actions) which pushes the resulting files (the contents of `_site/` or `../jasper2-pages/`) to the *gh-pages* branch. This is the approach that is currently used. See [jekyll_build.yml](.github/workflows/jekyll_build.yml) for more details. 2. generate the site locally (more details below) and push the resulting HTML to a Github repository, that GitHub Pages then host; 3. build the site with [travis-ci](https://travis-ci.org/) (with goodies from [jekyll-travis](https://github.com/mfenner/jekyll-travis)) automatically pushing the generated HTML files to a *gh-pages* branch. 4. deploy the static website with Jekyll-compatible hosters, such as https://www.netlify.com/, that allow for deployment from the Github repo and publish the website using CDNs. Netlify has a free starter offer. For option **2)** simply clone this repository (*master branch*), and then run `bundle exec jekyll serve` inside the directory. Upload the resulting `_site/` (or `../jasper2-pages/`) contents to your repository (*master branch* if uploading as your personal page (e.g. username.github.io) or *gh-pages branch* if uploading as a project page (as for the [demo](https://github.com/jekyllt/jasper2/tree/gh-pages)). For option **3)** you will need to set up travis-ci for your personal fork. Briefly all you need then is to change your details in *[\_config.yml](_config.yml)* so that you can push to your github repo. You will also need to generate a secure key to add to your *[.travis.yml](.travis.yml)* (you can find more info on how to do it in that file). Also make sure you read the documentation from [jekyll-travis](https://github.com/mfenner/jekyll-travis). This approach has clear advantages in that you simply push your file changes to GitHub and all the HTML files are generated for you and pushed to *gh-pages*. Also you get to know if everything is still fine with your site builds. Don't hesitate to contact me if you still have any issues (see below about issue tracking). ### Author Pages In order to properly generate author pages you need to rename the field *author* in the front matter of every post to match that of your each author's *username* as defined in the *[\_data/authors.yml](_data/authors.yml)* file. With the latest update, multiple author blogs are now supported out of the box. ### Compiling Styles Following on the way Casper styles are compiled as [described here](https://github.com/tryghost/casper#development): Jasper2 styles are compiled using Gulp/PostCSS to polyfill future CSS spec. You'll need Node and Gulp installed globally. After that, from the theme's root directory: ```bash $ npm install $ gulp ``` Now you can edit `/assets/css/` files, which will be compiled to `/assets/built/` automatically. ## Issues and Contributing This install builds well with Ruby v2.6.3 and Jekyll v3.9.0. If you run into any problems please log them on the [issue tracker](https://github.com/jekyllt/jasper2/issues). Feel free pull-request your patches and fixes. ## Thanks Many thanks to the Ghost team for all the design work. Also many thanks to all contributors, that help keeping the project alive and updated :smile: ## Copyright & License Same licence as the one provided by Ghost's team. See Casper's theme [license](GHOST.txt). Copyright (C) 2015-2021 - Released under the MIT License. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

al-folio
al-folio 是一个面向学者与研究人员的 Jekyll 作品集主题,设计简洁、响应式,适合搭建个人学术主页。
Jekyll · 作品集

minimal-mistakes
:triangular_ruler: Jekyll theme for building a personal site, blog, project documentation, or portfolio.
Jekyll · 作品集

Beautiful Jekyll
Beautiful Jekyll 是一个在 Jekyll 生态中经过长期打磨的博客主题,由 Dean Attali 维护,自 2015 年起积累了超过 5 万用户。
Jekyll · 博客

jekyll-TeXt-theme
💎 🐳 A super customizable Jekyll theme for personal site, team site, blog, project, documentation, etc.
Jekyll · 博客

startbootstrap-clean-blog-jekyll
A Jekyll version of the Clean Blog theme by Start Bootstrap
Jekyll · 博客

So Simple
So Simple 是 Michael Rose 开发的 Jekyll 主题,定位清晰:为文字和图片提供一个干净、可读性强的展示框架。
Jekyll · 博客
