以内容为先的极简 Jekyll 博客主题
ockham — Jekyll 博客模板
作者 zivong
Ockham 是一个以内容为先的极简 Jekyll 博客主题,采用 MIT 许可,可通过 Gem 或 jekyll-remote-theme 安装。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
目前有 1 张原始预览,可打开完整图片查看设计细节。
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
支持通过 Gemfile 中的 gem "ockham" 与 _config.yml 的 theme 字段安装
支持 GitHub Pages 场景下使用 jekyll-remote-theme 插件远程引用
仓库提供截图预览,使用说明指向作者博客上的独立教程
采用 MIT 许可,允许免费使用、修改、商用和分发
模板详细介绍
Ockham 是一个 Jekyll 博客主题,定位为内容优先的极简风格,名称取自奥卡姆剃刀的拉丁格言。主题以 gem 形式发布,可在 Jekyll 站点的 Gemfile 中添加 gem "ockham",并在 _config.yml 中设置 theme: ockham 后执行 bundle 使用;也可以直接 gem install ockham 安装。如果站点托管在 GitHub Pages 上,README 提供了通过 jekyll-remote-theme 插件安装的方式,在 _config.yml 中配置 remote_theme: zivong/ockham。
主题的详细使用说明不在仓库 README 中,而是指向作者博客上的一篇教程页面。仓库本身按普通 Jekyll 站点的方式开发,运行 bundle install 后用 bundle exec jekyll serve 在本地 4000 端口预览。发布时仅打包 Git 跟踪的 _layouts、_includes、_sass 和 assets 目录中的文件,如需加入自定义目录要修改 ockham.gemspec 中的正则表达式。
仓库提供了截图作为预览,但 README 未列出具体页面结构、导航、分页、评论或 SEO 等功能细节,也未说明所依赖的 Jekyll 版本范围。主题代码采用 MIT 许可,允许免费使用、修改、商用和分发,但演示图片、字体、图标等第三方素材需按各自许可单独核对。
适合你的项目吗?
适用场景
- 使用 Jekyll 搭建以文字内容为主的个人博客
- 在 GitHub Pages 上通过 jekyll-remote-theme 引用远程主题
- 在本地以 bundle exec jekyll serve 预览和调试主题
- 基于 MIT 许可对主题代码进行修改或二次分发
适合人群
- 熟悉 Jekyll 与 Bundler 基本工作流的开发者
- 偏好极简、内容优先博客外观的个人站点作者
- 需要 MIT 许可下可自由修改主题代码的用户
- 在 GitHub Pages 上托管 Jekyll 站点的用户
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
在 Jekyll 站点的 Gemfile 中添加 gem "ockham",并在 _config.yml 中设置 theme: ockham,然后执行 bundle。
- 2
也可直接运行 gem install ockham 安装该主题。
- 3
GitHub Pages 场景下需添加 jekyll-remote-theme 插件,并在 _config.yml 中配置 remote_theme: zivong/ockham。
- 4
本地开发运行 bundle install,再用 bundle exec jekyll serve 在 http://localhost:4000 预览。
- 5
主题发布时仅打包 Git 跟踪的 _layouts、_includes、_sass 和 assets 目录,添加自定义目录需修改 ockham.gemspec 中的正则表达式。
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
https://github.com/zivong/ockham/blob/master/LICENSE.txthttps://github.com/zivong/ockham/blob/master/README.mdPermission is hereby granted, free of charge
许可证原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料一般 · 68 / 100
- 技术栈
- Jekyll
- 网站类型
- 博客
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2022-01-04
- 截图检查日期
- 2026-10-02
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Jekyll。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: d52f87acca67afc6bb2538717c6cc069db20597177ebb0ee00bc562798faf9c1
2026-10-02T11:02:59.507Z
来源文件 / 仓库# ockham
> Entia non sunt multiplicanda praeter necessitatem.
>
> -- William of Ockham
Ockham is a content-first minimalist Jekyll blog theme.

## Installation
Add this line to your Jekyll site's `Gemfile`:
```ruby
gem "ockham"
```
And add this line to your Jekyll site's `_config.yml`:
```yaml
theme: ockham
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install ockham
If your website is hosted on GitHub Pages, you can install this theme via [`jekyll-remote-theme`](https://github.com/benbalter/jekyll-remote-theme).
Add the following to your `Gemfile`:
```ruby
gem "jekyll-remote-theme"
```
And add this line to your Jekyll site's `_config.yml`:
```yml
plugins:
- jekyll-remote-theme
```
Add the following to your site's `_config.yml`:
```yml
remote_theme: zivong/ockham
```
## Usage
For more information about the usage of Ockham, please read the [tutorial](https://zivong.blog/ockham/tutorial/2021/09/12/tutorial.html).
## Contributing
Bug reports and pull requests are welcome on GitHub at [https://github.com/zivong/ockham](https://github.com/zivong/ockham). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
## Development
To set up your environment to develop this theme, run `bundle install`.
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
To add a custom directory to your theme-gem, please edit the regexp in `ockham.gemspec` accordingly.
## License
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

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 · 博客
