Jekyll博客

Domain — Jekyll 博客模板

作者 Lumunix

Domain 是一个基于 Jekyll 的个人知识库与博客主题,提供 wiki 式链接、全文搜索和自动生成的文章组织页面,采用 MIT 许可。

看看你的网站会是什么样

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

1 个预览视图
作者提供的预览
作者提供的预览

来自项目 README 的原始预览。

目前有 1 张原始预览,可打开完整图片查看设计细节。

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

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

值得关注的模板亮点

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

01

提供 wiki 式链接,便于在笔记之间建立引用关系

02

内置全文搜索,可在站点内容中检索

03

自动生成文章组织页面,按主题聚合内容

04

支持 gem 主题、远程主题、GitHub Pages Initializer 和直接复制文件四种安装方式

05

仓库包含 docker-compose 配置,可基于官方 Jekyll Docker 镜像启动本地预览

模板详细介绍

Domain 是 Lumunix 维护的 Jekyll 主题,定位为个人知识库与博客。它提供 wiki 式链接、全文搜索,以及自动生成的文章组织页面,适合把零散笔记与文章按主题聚合起来。

安装方式有四种:使用 Domain GitHub Pages Initializer、作为 gem 主题、作为远程主题,或直接 fork/复制主题文件。gem 方式通过 Gemfile 引入 domain-jekyll 并在 _config.yml 设置 theme;远程主题方式则用 github-pages gem 配合 remote_theme: "Lumunix/Domain",适合托管在 GitHub Pages 的站点。仓库内附带 docker-compose 配置,可基于官方 Jekyll Docker 镜像启动本地预览环境,无需手动安装 Ruby 与 Jekyll。

主题的配置与自定义说明位于项目文档站点。代码采用 MIT 许可,允许免费使用、修改、商用和分发,但演示图片、字体、图标等第三方素材需按各自许可单独核对;域名、托管等外部服务可能另外收费。

Jekyll博客

适合你的项目吗?

适用场景

  • 搭建个人知识库,用 wiki 式链接串联零散笔记
  • 运行个人博客,并借助全文搜索让读者检索文章
  • 将已有 Markdown 内容按主题自动整理成组织页面
  • 在 GitHub Pages 上以远程主题方式部署站点

适合人群

  • 使用 Jekyll 并希望同时承载知识库与博客的开发者
  • 需要 wiki 式双向引用与全文搜索的笔记写作者
  • 偏好用 Docker 快速启动本地预览环境的用户
  • 接受 MIT 许可、愿意自行核对第三方素材授权的人

上手与定制指南

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

  1. 1

    gem 方式:在 Gemfile 添加 gem "domain-jekyll",运行 bundle,并在 _config.yml 设置 theme: domain-jekyll

  2. 2

    远程主题方式:Gemfile 引入 github-pages gem,运行 bundle,并在 _config.yml 添加 remote_theme: "Lumunix/Domain",同时移除其他 theme 或 remote_theme 配置

  3. 3

    也可使用 Domain GitHub Pages Initializer,或直接 fork/复制主题文件到项目中

  4. 4

    本地开发可安装 Docker 与 Compose,在项目目录运行 docker compose up,然后访问 http://127.0.0.1:4000/

  5. 5

    详细配置与自定义说明参见项目文档站点

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

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

项目核对记录与介绍依据

模板资料

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

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

这个项目需要核对什么

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

目前没有记录演示链接。请依据仓库说明在本地评估;仅凭截图无法确认交互行为。

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

查看具体选型方法 →

介绍的制作与核对状态

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

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

查看当时使用的来源资料

SHA-256: 8f8162eb6b79526a990627ea687985bba8f3dded5224f38d13d7018c51b37cec

2026-10-02T21:37:36.193Z

来源文件 / 仓库

[![License](https://img.shields.io/github/license/Lumunix/domain?style=plastic)](https://github.com/Lumunix/Domain/blob/main/LICENSE)
[![Jekyll](https://img.shields.io/badge/jekyll-%3E%3D%203.7-blue.svg)](https://jekyllrb.com/)
[![RubyGem](https://img.shields.io/gem/v/domain-jekyll?style=plastic)](https://rubygems.org/gems/domain-jekyll)
[![Tip Me via PayPal](https://img.shields.io/badge/PayPal-tip%20me-green.svg?logo=paypal)](https://www.paypal.me/Lumunix)


# [Domain](https://lumunix.github.io/Domain/)
Jekyll Knowledge Base / Blog Theme that provides wiki style linking, full text search and automatically generated post organization pages.

![Project-Banner](./readme/project-banner.png)

![Showcase](./readme/showcase.png)


## Installation

- Option 1: Use the [Domain Github Pages Initializer](https://github.com/Lumunix/Domain-Github-Pages-Initializer)
- Option 2: Setup as a [gem-based theme](https://jekyllrb.com/docs/themes/#understanding-gem-based-themes)
- Option 3: Setup as a [remote theme](https://blog.github.com/2017-11-29-use-any-theme-with-github-pages/)
- Option 4: Forking/directly copying all of the theme files into your project.


### 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 the following to your `Gemfile`:

   ```ruby
   gem "domain-jekyll"
   ```

2. Fetch and update bundled gems by running the following [Bundler](http://bundler.io/) command:

   ```bash
   bundle
   ```

3. Set the `theme` in your project's Jekyll `_config.yml` file:

   ```yaml
   theme: domain-jekyll
   ```

To update the theme run `bundle update`.

### Remote theme method

Remote themes are similar to Gem-based themes, but do not require `Gemfile` changes or whitelisting making them ideal for sites hosted with GitHub Pages.

To install:

1. Create/replace the contents of your `Gemfile` with the following:

   ```ruby
   source "https://rubygems.org"

   gem "github-pages", group: :jekyll_plugins
   ```


3. Fetch and update bundled gems by running the following [Bundler](http://bundler.io/) command:

   ```bash
   bundle
   ```

4. Add `remote_theme: "Lumunix/Domain"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.


## Usage

For detailed instructions on how to configure, customize, read the [theme's documentation](https://lumunix.github.io/Domain/).

## Development Environment
Included in the repository is a [docker-compose](./docker-compose.yml) file that creates a container from the the official [Jekyll Docker Image](https://hub.docker.com/r/jekyll/jekyll/). This will allow you to setup a development environment without having to install Ruby and Jekyll manually and allow you to quickly test and preview changes.


1. Fork this repo. Clone it to your machine.

2. [Install Docker/Compose](https://docs.docker.com/compose/install/). You must have Docker and Compose installed.

3. In the directory you downloaded the project, open terminal and run the following command `docker compose up`.

4. You should now be able to go to your web browser and view the site [Here](http://127.0.0.1:4000/)
反馈内容错误

看看同类模板

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