Jekyll博客

consolo — Jekyll 博客模板

作者 Forthoney

consolo 是一个以终端/控制台界面为视觉灵感的 Jekyll 主题,适用于个人博客与网站,是 jekyll-theme-console 的改进分支。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

3 个预览视图
桌面端首页1 / 3
桌面端截图首屏预览

由服务器浏览器实际访问页面后截取。

全部页面与视图 3

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-10-02查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

以终端/控制台界面为视觉风格,同时兼顾内容可读性

02

基于 jekyll-theme-console 分支,调整外观并统一内容结构

03

支持远程主题与 Gem 两种安装方式

04

可通过 _sass 与 assets 中的 SCSS 文件自定义配色方案

05

提供 title、footer、home_source、author 等新增配置项

06

以 MIT 许可开源,仓库接受问题报告与拉取请求

模板详细介绍

consolo 是一个 Jekyll 主题,目标是在保持可读性的前提下复刻终端/控制台界面的粗粝观感,用于个人博客和个人网站。它从 jekyll-theme-console 分支而来,作者认为原主题已不再维护,因此 consolo 在原主题基础上调整整体外观、统一内容结构,并增强了可扩展性。

主题提供两种安装方式:作为 GitHub Pages 的远程主题,在 _config.yml 中设置 remote_theme: Forthoney/consolo;或作为 Gem 安装,在 Gemfile 中加入 gem "consolo",并在 _config.yml 中设置 theme: consolo,然后执行 bundle 或 gem install consolo。

配置方面,除 Jekyll 默认配置外,consolo 支持 header_pages(导航栏页面列表)、google_analytics(未设置则不加载分析代码)、listen_for_clients_preferred_style(是否按用户偏好选择明暗样式)、style(预设配色方案)等来自原主题的选项;新增 title(网站标题)、footer(页脚消息,不再接受原始 HTML)、home_source(首页展示来源,默认 posts,可设为 pages)、author(含 name、email、github_username,email 可嵌套多个带标题的地址)。

配色方案可自行扩展:在 _sass/ 目录新建 _<stylename>.scss,参考现有方案修改,再在 assets/ 目录新建 main-<stylename>.scss 并导入该样式与 base,最后把 _config.yml 的 style 设为对应名称。主题以 MIT 许可发布,仓库接受问题报告与拉取请求。

Jekyll博客

适合你的项目吗?

适用场景

  • 搭建个人博客并希望呈现终端/控制台风格
  • 为已有 Jekyll 站点替换或新增一套控制台风格主题
  • 通过 GitHub Pages 以远程主题方式快速套用主题
  • 需要自定义配色方案并保留 Jekyll 内容组织方式的个人网站

适合人群

  • 使用 Jekyll 构建个人博客的开发者
  • 偏好终端/控制台视觉风格并重视可读性的用户
  • 希望通过 GitHub Pages 远程主题或 Gem 安装主题的人
  • 愿意通过 SCSS 文件自行调整配色方案的用户

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    作为远程主题安装:在 _config.yml 中设置 remote_theme: Forthoney/consolo

  2. 2

    作为 Gem 安装:在 Gemfile 中加入 gem "consolo",在 _config.yml 中设置 theme: consolo,然后执行 bundle 或 gem install consolo

  3. 3

    从零开始需先按 Jekyll 快速入门指南初始化项目

  4. 4

    本地开发可运行 bundle install 与 bundle exec jekyll serve,在 http://localhost:4000 预览

  5. 5

    自定义配色需在 _sass/ 新建 _<stylename>.scss,并在 assets/ 新建 main-<stylename>.scss 导入该样式与 base

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • google_analytics 为可选配置:仅当在 _config.yml 中设置跟踪 ID 时才会加载 Google Analytics 代码;不设置则不加载任何分析脚本,无需外部账号或 API 密钥。
  • 本主题是 jekyll-theme-console 的分支,安装指南部分内容来自原主题;使用时需注意原主题的 MIT 许可与署名要求。
  • 安装说明部分内容沿用自原主题 jekyll-theme-console,属于第三方来源内容,再分发时需保留相应署名。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

google_analytics`: tracking id (no Google Analytics code will be loaded if you don't set this option)

README 原文

It is forked from [jekyll-theme-console](https://github.com/b2a3e8/jekyll-theme-console)

README 原文

Parts of the installation guide also come from the original theme.

README 原文
https://github.com/Forthoney/consolo/blob/main/LICENSE.txthttps://github.com/Forthoney/consolo/blob/main/README.md

DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料较完整 · 83 / 100
技术栈
Jekyll
网站类型
博客
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2026-05-15
截图检查日期
2026-10-02

已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。

目录记录的主要技术栈是 Jekyll。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。

查看当时使用的来源资料

SHA-256: f7b3f44c2d522932504c29589cbc337711a5d499138ef51ae174eba852329608

2026-10-02T17:39:43.266Z

来源文件 / 仓库
# consolo

**consolo** aims the recreate the rugged look of a terminal/console interface while maintaining legibility.

It is forked from [jekyll-theme-console](https://github.com/b2a3e8/jekyll-theme-console) which, as far as I can tell, is no longer maintained.
**consolo** refines the general look of the original theme, standardizes content, and greatly improves on extensibility. 
Parts of the installation guide also come from the original theme.

[Live Demo](https://forthoney.github.io/) (aka my own blog)

## Screenshots

![Collage of themes](theme_collage.png)

## Installation

### Prerequisites

If you're starting with Jekyll from scratch, follow the steps in [the Quickstart Guide](https://jekyllrb.com/docs/). Skip this if you already have an existing jekyll project.

### Install as Remote theme for GitHub Pages

Set `remote_theme` in your project's Jekyll `_config.yml` file:

```yaml
remote_theme: Forthoney/consolo
```

### Install as Gem

Add this line to your Jekyll site's `Gemfile`:

```ruby
gem "consolo"
```

And add this line to your Jekyll site's `_config.yml`:

```yaml
theme: consolo
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install consolo

## Usage

### _config.yml
In addition to the [jekyll default configurations](https://jekyllrb.com/docs/configuration/default/), consolo allows you to display additional information through options.

#### Options from jekyll-theme-console
- `header_pages`: list of pages to be displayed in navbar
- `google_analytics`: tracking id (no Google Analytics code will be loaded if you don't set this option)
- `listen_for_clients_preferred_style`: boolean on whether to allow users to choose light or dark style based on their preferences ([see also](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme))
- `style`: predefined color scheme to be used for the site. Color scheme options are discussed more later.

#### New from consolo
- `title`: the title of the website (yes, this was missing from the original)
- `footer`: message to display at footer. NO LONGER ACCEPTS RAW HTML
- `home_source`: array source to display on the homepage. Defaults to `posts`; set to `pages` to list site pages instead
- `author`: display various information about the author
   - `name`: author's name
   - `email`: author's email. Can nest multiple email with titles like
   ```YAML
   email:
      personal: [email protected]
      school: [email protected]
   ```
   - `github_username`: author's github username (not the full url). Automatically creates a link to the author's github profile

### Style/Color Scheme
You can now more easily create your own color scheme. Under the `_sass/` directory, create a new file with the name `_<stylename>.scss` (e.g. `_red.scss`).
I recommend using one of the existing color scheme's SCSS file as a starting point.

Once you have customized the color scheme, go to the `assets/` directory and create a new file named `main-<stylename>.scss` with the following contents:
```SCSS
@import "<stylename>";
@import "base";
```
You have successfully created a new style!
To change to a style, simply set the `style` in `_config.yml` to <stylename>.

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Forthoney/consolo. 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 `consolo.gemspec` accordingly.

## License

The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。