基于 Jekyll 的浅色博客主题,采用 MIT 许可证发布
oscailte — Jekyll 博客模板
作者 coogie
Oscailte 是一款基于 Jekyll 的浅色博客主题,采用 MIT 许可,支持通过远程主题或 Gem 方式安装,并提供 Disqus 评论、社交链接、Google Analytics 与首页摘要等配置项。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
支持远程主题(remote_theme)与 Gem 两种安装方式
可通过 Disqus 接入文章评论,并支持按文章关闭评论
内置多平台社交链接配置,以图标形式展示
支持 Google Analytics,且仅在 JEKYLL_ENV=production 时生效
使用 CSS 自定义属性组织配色与排版,便于调整外观
模板详细介绍
Oscailte 是发布在 GitHub 上的 Jekyll 博客主题,仓库为 coogie/oscailte,采用 MIT 许可证。主题名称来自爱尔兰语,意为“开放”。它面向 Jekyll 站点,提供浅色、简洁的页面外观,并包含桌面端与移动端两种布局的演示页面。
在功能配置上,主题的大部分设置集中在 _config.yml 的 oscailte 键下,涵盖文章链接、社交账号、界面文案等。评论通过 Disqus 接入,需配置 shortname 与站点 url,且仅在 JEKYLL_ENV=production 时显示;单篇文章可通过 front matter 中的 comments: false 关闭评论。Google Analytics 同样只在生产环境生效,并会传递用户的 DNT 请求。首页摘要需开启 show_excerpts。社交链接支持 Twitter、GitHub、Dribbble、Facebook、Flickr、Instagram、LinkedIn、Mastodon、Pinterest、Telegram、Keybase 与 RSS,以图标形式展示。
外观定制方面,主题大量使用 CSS 自定义属性,相关变量集中在 _sass/_oscailte.scss 中,部分属性由 SCSS 生成但在浏览器中仍以自定义属性形式存在。安装方式有两种:在 _config.yml 中设置 remote_theme: coogie/oscailte(GitHub Pages 默认支持),或在 Gemfile 中加入 gem "oscailte" 并设置 theme: oscailte 后执行 bundle。
使用限制方面,README 未说明主题对 Jekyll 具体版本的要求,也未提供性能或生产就绪程度的说明。Disqus 与 Google Analytics 属于外部服务,需自行准备账号并遵守其条款。演示图片、字体、图标等第三方素材的许可需单独核对,不能仅凭代码的 MIT 许可判断。
适合你的项目吗?
适用场景
- 使用 Jekyll 搭建个人博客并希望快速套用现成主题
- 在 GitHub Pages 上通过 remote_theme 直接启用主题
- 需要为文章接入 Disqus 评论区的博客站点
- 希望集中配置社交账号链接与界面文案的多语言站点
适合人群
- 使用 Jekyll 构建静态博客的开发者
- 偏好浅色、简洁阅读界面的内容站点
- 接受通过 _config.yml 与 SCSS 自定义属性的使用者
- 需要在 GitHub Pages 上部署并启用远程主题的项目
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
远程主题方式:在 _config.yml 中添加 remote_theme: coogie/oscailte
- 2
Gem 方式:在 Gemfile 添加 gem "oscailte",在 _config.yml 设置 theme: oscailte,然后执行 bundle
- 3
启用 Disqus 需配置 disqus.shortname 与站点 url,评论仅在 JEKYLL_ENV=production 时显示
- 4
启用 Google Analytics 需在 oscailte.google_analytics 中填写跟踪 ID,且仅在 JEKYLL_ENV=production 时生效
- 5
首页显示摘要需在 _config.yml 中设置 show_excerpts: true
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 评论功能为可选,需自行拥有 Disqus 账号并配置 shortname;不配置则不启用评论。
- 使用 Disqus 评论前必须在配置文件中设置站点 url,否则评论无法正常工作。
- 评论默认开启,但仅在 JEKYLL_ENV=production 的生产环境下才会显示。
- Google Analytics 仅在 JEKYLL_ENV=production 的生产环境下生效,需自行提供跟踪 ID。
- 启用 Google Analytics 时会向该服务传递用户的 DNT(禁止跟踪)请求。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
Optionally, if you have a Disqus account, you can tell Jekyll to use it to show a comments section below each post.
README 原文
:warning: `url`, e.g. `https://example.com`, must be set in you config file for Disqus to work.
README 原文
Comments are enabled by default and will only appear in production, i.e., `JEKYLL_ENV=production`
README 原文
Google Analytics will only appear in production, i.e., `JEKYLL_ENV=production`
README 原文
https://github.com/coogie/oscailte/blob/master/LICENSE.txthttps://github.com/coogie/oscailte/blob/master/README.mdOscailte will also inform Google Analytics of your user's request for DNT.
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-01。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 85 / 100
- 技术栈
- Jekyll
- 网站类型
- 博客
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2025-03-21
- 截图检查日期
- 2026-10-01
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Jekyll。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: ef5e6ff6fb567b06936ff2f6c093c9c504abdaa27e2a09496a4728944eb87b8a
2026-10-01T14:56:13.678Z
来源文件 / 仓库# Oscailte — A Jekyll theme [](https://rubygems.org/gems/oscailte)
Oscailte ([IPA: [ˈɔsˠkɪlʲtʲɪ]](http://en.wiktionary.org/wiki/Appendix:Irish_pronunciation) Gaeilge for "Open") is a light and clean theme for use on [Jekyll](https://jekyllrb.org/) sites, released under the MIT Licence.
## Quicklinks
- [Installation](#installation)
- [Usage](#usage)
- [Enabling Comments (via Disqus)](#enabling-comments-via-disqus)
- [Social Networks](#social-networks)
- [Enabling Google Analytics](#enabling-google-analytics)
- [Enabling Excerpts on the Home Page](#enabling-excerpts-on-the-home-page)
- [Customising Oscailte](#customising-oscailte)
- [Site Colours](#site-colours)
## Installation
### Install as Remote Theme</strong></summary>
Using [Jekyll Remote Theme](https://github.com/benbalter/jekyll-remote-theme) (enabled
by default on Github Pages) is the quickest way to install Oscailte.
1. Add the following to your site's `_config.yml` to activate Oscailte
```yml
remote_theme: coogie/oscailte
```
### Install via Gemfile</strong></summary>
1. Add this line to your Jekyll site's `Gemfile`:
```ruby
gem "oscailte"
```
2. And add this line to your Jekyll site's `_config.yml`:
```yaml
theme: oscailte
```
3. And then execute:
```sh
$ bundle
```
4. Or install it yourself as:
```sh
$ gem install oscailte
```
## Usage
The majority of Oscailte's settings are nested under the `oscailte` key.
Below are a list of all available ones, and their default values.
```yml
oscailte:
posts_url:
google_analytics:
social:
twitter: username
github: username
dribbble: username
facebook: username
flickr: username
instagram: username
linkedin: username
mastodon: https://instance.url/@username
pinterest: username
telegram: username
keybase: username
rss: rss
strings:
skip_to_main_content: "Skip to main content"
x_minute_read: "$x$ minute read"
hero_title: "Welcome to Oscailte!<br> A powerful, clean, and responsive Jekyll theme."
recent_posts: "Recent posts"
view_all: "View all"
read_full: "Read full"
disqus_enable_javascript: 'Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus</a>.'
```
### Enabling Comments (via Disqus)
Optionally, if you have a Disqus account, you can tell Jekyll to use it to show a comments
section below each post.
To enable it, add the following lines to your Jekyll site:
```yml
disqus:
shortname: my_disqus_shortname
```
You can find out more about Disqus' shortnames [here](https://help.disqus.com/installation/whats-a-shortname).
Comments are enabled by default and will only appear in production, i.e.,
`JEKYLL_ENV=production`
If you don't want to display comments for a particular post you can disable them by adding
`comments: false` to that post's YAML Front Matter.
:warning: `url`, e.g. `https://example.com`, must be set in you config file for Disqus to
work.
### Social Networks
You can add links to the accounts you have on other sites, with respective icon, by adding
one or more of the following options in your config. These usernames are nested under
`oscailte.social`, with the keys being simply the social network's name:
```yml
oscailte:
social:
twitter: jekyllrb
github: jekyll
dribbble: jekyll
facebook: jekyll
flickr: jekyll
instagram: jekyll
linkedin: jekyll
pinterest: jekyll
telegram: jekyll
keybase: jekyll
rss: rss
```
### Enabling Google Analytics
To enable Google Analytics, add the following lines to your `_config.yml`:
```yml
oscailte:
google_analytics: UA-NNNNNNNN-N
```
Google Analytics will only appear in production, i.e., `JEKYLL_ENV=production`
Oscailte will also inform Google Analytics of your user's request for DNT.
### Enabling Excerpts on the Home Page
To display post-excerpts on the Home Page, simply add the following to your `_config.yml`:
```yaml
show_excerpts: true
```
## Customising Oscailte
### Site Colours
Oscailte makes extensive use of [CSS Custom Properties](https://developer.mozilla.org/en-US/docs/Web/CSS/--*)
for various parts of its look and feel. A full list of the properties used throughout can
be found in [`/_sass/_oscailte.scss`](./_sass/_oscailte.scss#L40). _Some_ of these
properties are generated via SCSS (such as typography), but are still Custom Properties
in-browser (not Sass variables).
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/coogie/oscailte.
This project is intended to be a safe, welcoming space for collaboration, and contributors
are expected to adhere to the [Contributor Covenant](https://contributor-covenant.org)
code of conduct.
## 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 · 博客
