终端控制台视觉风格,提供 dark、light、hacker 三种预定义配色
jekyll-theme-console — Jekyll 博客模板
作者 debifrank
基于 b2a3e8/jekyll-theme-console 修改的 Jekyll 博客主题,采用终端控制台风格,供个人博客使用。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
支持 GitHub Pages 的 remote_theme 方式与 gem 方式两种安装
可通过 header_pages 配置导航栏页面,通过 footer 插入页脚内容
可选 google_analytics 跟踪 ID,仅在设置后且生产环境加载
listen_for_clients_preferred_style 可依据客户端配色偏好切换明暗风格
MIT 许可,允许使用、修改、商用与分发
模板详细介绍
这是一个 Jekyll 博客主题,仓库说明为 b2a3e8/jekyll-theme-console 的修改版本,用于个人博客。主题的视觉灵感来自 Linux 控制台,面向黑客、开发者和脚本爱好者,提供 dark、light、hacker 三种预定义配色风格。
主题支持两种安装方式:GitHub Pages 可通过 _config.yml 中的 remote_theme 引用;常规 Jekyll 项目可将其作为 gem 安装并在 _config.yml 中设置 theme。配置项包括 header_pages(导航栏页面)、footer 字符串、google_analytics 跟踪 ID、listen_for_clients_preferred_style(依据客户端 prefers-color-scheme 偏好切换明暗)、style(选择预定义风格)。front matter 支持 title、lang、robots 等变量。
自定义方式为 fork 仓库后修改 _layouts 中的 HTML,以及 _sass 与 assets 中的样式;通用变量位于 _sass/base.scss,风格专属定义位于 _sass/_dark.scss 与 _sass/_light.scss。该仓库为个人修改版,star 数为 0,最近更新于 2021 年,使用前建议核对与上游主题的差异。
适合你的项目吗?
适用场景
- 为个人博客搭建终端控制台风格的站点
- 在 GitHub Pages 上以 remote_theme 方式快速套用主题
- 在已有 Jekyll 项目中以 gem 方式引入并跟随 bundle update 更新
- 通过 fork 仓库修改 _layouts、_sass 与 assets 实现深度定制
适合人群
- 使用 Jekyll 构建博客的开发者
- 偏好终端与命令行视觉风格的个人站点作者
- 需要在 GitHub Pages 上托管博客的用户
- 愿意 fork 仓库并自行维护主题代码的使用者
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
GitHub Pages 方式:在 _config.yml 中设置 remote_theme: b2a3e8/jekyll-theme-console
- 2
gem 方式:在 Gemfile 添加 gem "jekyll-theme-console",运行 bundle,并在 _config.yml 中设置 theme
- 3
在 _config.yml 中按需配置 header_pages、footer、google_analytics、style、listen_for_clients_preferred_style
- 4
本地开发运行 bundle install 与 bundle exec jekyll serve,访问 http://localhost:4000 预览
- 5
本仓库为个人修改版,使用前建议与上游 b2a3e8/jekyll-theme-console 对比差异
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
- google_analytics 为可选项:仅在设置了该跟踪 ID 且处于生产环境时才会启用 Google Analytics,未设置时不会加载任何 Google Analytics 代码。
- remote_theme 安装方式仅适用于托管在 GitHub Pages 上的站点,其他托管环境需改用 gem 方式安装。
- 从零开始时需先按 Jekyll 官方 Quickstart 指南搭建 Jekyll 环境,主题本身不提供脱离 Jekyll 的独立运行方式。
- 发布主题时仅会打包被 Git 跟踪的 _layouts、_includes、_sass 与 assets 目录中的文件,自定义目录需修改 gemspec 中的正则才会被包含。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
`google_analytics` tracking id (tracking will be enabled only in production environments and only if you set this option, no Google Analytics code will be loaded if you don't set this option)
README 原文
Use this method for sites hosted with GitHub Pages only.
README 原文
First, follow the steps in [this Quickstart Guide](https://jekyllrb.com/docs/) if you're starting with Jekyll from scratch.
README 原文
https://github.com/debifrank/jekyll-theme-console/blob/master/LICENSE.txthttps://github.com/debifrank/jekyll-theme-console/blob/master/README.mdWhen your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-04。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料一般 · 65 / 100
- 技术栈
- Jekyll
- 网站类型
- 博客
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2021-10-07
- 截图检查日期
- 2026-10-04
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Jekyll。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
审核声明: [email protected] · 2026-10-04
查看当时使用的来源资料
SHA-256: 8d0826384cebf78ef0aaa4d471d91a4d163f3a9ae38bb70e52dc6443af44d563
2026-10-04T14:30:23.703Z
来源文件 / 仓库# jekyll-theme-console A jekyll theme with inspiration from linux consoles for hackers, developers and script kiddies. <img src="https://raw.githubusercontent.com/b2a3e8/jekyll-theme-console/master/screenrec-dark.gif" width="550" title="Screenshot"> ## Demo [dark style](https://b2a3e8.github.io/jekyll-theme-console-demo-dark/) ([source code](https://github.com/b2a3e8/jekyll-theme-console-demo-dark)): [<img src="https://raw.githubusercontent.com/b2a3e8/jekyll-theme-console/master/screenshot-dark.png" width="350" title="Screenshot">](https://b2a3e8.github.io/jekyll-theme-console-demo-dark/) [light style](https://b2a3e8.github.io/jekyll-theme-console-demo-light/) ([source code](https://github.com/b2a3e8/jekyll-theme-console-demo-light)): [<img src="https://raw.githubusercontent.com/b2a3e8/jekyll-theme-console/master/screenshot-light.png" width="350" title="Screenshot">](https://b2a3e8.github.io/jekyll-theme-console-demo-light/) [hacker style](https://b2a3e8.github.io/jekyll-theme-console-demo-hacker/) ([source code](https://github.com/b2a3e8/jekyll-theme-console-demo-hacker)): [<img src="https://raw.githubusercontent.com/b2a3e8/jekyll-theme-console/master/screenshot-hacker.png" width="350" title="Screenshot">](https://b2a3e8.github.io/jekyll-theme-console-demo-hacker/) ## Installation First, follow the steps in [this Quickstart Guide](https://jekyllrb.com/docs/) if you're starting with Jekyll from scratch. Skip this if you already have an existing jekyll project. **_You can also use the [demo site's source code](https://b2a3e8.github.io/jekyll-theme-console-demo-dark/) as template for an easy start._** ### Remote theme method for GitHub Pages Use this method for sites hosted with GitHub Pages only. To install: 1. Set `remote_theme` in your project's Jekyll `_config.yml` file: ```yaml remote_theme: b2a3e8/jekyll-theme-console ``` ### Gem-based method With Gem-based themes, directories such as the `assets`, `_layouts`, `_includes`, and `_sass` are stored in the theme’s gem, hidden from your immediate view. Yet all of the necessary directories will be read and processed during Jekyll’s build process. This allows for easier installation and updating as you don't have to manage any of the theme files. To install: 1. Add this line to your Jekyll site's `Gemfile`: ```ruby gem "jekyll-theme-console" ``` 2. Fetch and update bundled gems by running the following [Bundler](http://bundler.io/) command: ```bash bundle ``` 3. Set `theme` in your project's Jekyll `_config.yml` file: ```yaml theme: jekyll-theme-console ``` To update the theme run `bundle update`. ## Usage ### _config.yaml In addition to jekyll's default configuration options, you can provide: - `header_pages` to specify which pages should be displayed in navbar - `footer` string, which will be inserted on the end of the page (doesn't support markup, but html) - `google_analytics` tracking id (tracking will be enabled only in production environments and only if you set this option, no Google Analytics code will be loaded if you don't set this option) - `listen_for_clients_preferred_style` boolean, used to allow users to choose light or dark style based on their preferences (mostly affected by OS dark or light theme, details see https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme) - `style` to specify which predefined style (colors) should be used ```yaml header_pages: - index.md - about.md style: dark # dark (default), light or hacker listen_for_clients_preferred_style: true # false (default) or true footer: 'follow us on <a href="https://twitter.com/xxx">twitter</a>' google_analytics: UA-NNNNNNNN-N ``` ### front matter variables Besides the predefined [front matter](https://jekyllrb.com/docs/front-matter/) variables from jekyll this theme also supports following variables: - `title` to set a title for the page - `lang` to specify the language, defaults to 'en' - `robots` to control the robot meta tag ([details](http://longqian.me/2017/02/12/jekyll-robots-configuration/)) - this may be useful for example to set `NOINDEX` to tag pages ## Customization If you want to customize this theme, follow this steps: 1. Fork this repository (you can use the fork as your own theme or directly as your website) 2. Create or modify files in `_layouts` directory for html-based changes 3. Create or modify files in `_sass` and `assets` for css-based changes - You can change things which are used in light and dark theme (like font-size) in `_sass/base.scss`. You'll find style variables at the top. - Style-specific definitions are in `_sass/_dark.scss` respectively in `_sass/_light.scss`. You can change things like background-color there. ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/b2a3e8/jekyll-theme-console. 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 `jekyll-theme-console.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 · 博客
