以内容为先的极简博客排版,适合文字为主的站点
jekyll-theme-tao — Jekyll 博客模板
作者 vfvong
Tao 是一个面向博客的 Jekyll 主题,强调以内容为先的极简排版,支持深色模式、归档页、MathJax、Disqus 与 Google Analytics 4。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
目前有 1 张原始预览,可打开完整图片查看设计细节。
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
通过 prefers-color-scheme 自动切换浅色与深色模式
归档页使用纯 Liquid 实现,支持按年份、分类、标签归档
内置 MathJax、Disqus 与 Google Analytics 4 的开关式集成
导航与社交链接通过 _data 下的 YAML 文件配置,图标使用 Font Awesome
可在 GitHub Pages 上通过 jekyll-remote-theme 远程引用
模板详细介绍
Tao 是一个以内容为先的极简 Jekyll 博客主题,仓库位于 GitHub(vfvong/jekyll-theme-tao),采用 MIT 许可。主题通过 Gem 方式安装,也可在 GitHub Pages 上借助 jekyll-remote-theme 远程引用。
功能方面,主题内置对 Normalize CSS 重置、Font Awesome 图标、MathJax 数学公式渲染、Disqus 评论和 Google Analytics 4 的支持;通过 prefers-color-scheme 提供浅色与深色模式;归档页使用纯 Liquid 实现,可按年份、分类或标签生成。
配置方式集中在 _config.yml 与 _data 目录:导航项写在 _data/navigation.yml,社交链接写在 _data/social.yml(指定标题、URL 与 Font Awesome 图标类名);页面语言可通过页面级 lang 属性指定,未设置时回退到 site.lang,再回退到默认值 en;如需向 <head> 追加内容,可新建 _includes/custom-head.html 而无需覆盖整个 head 模板。MathJax 默认关闭,需在页面设置 math: true 开启;Disqus 与 Google Analytics 4 分别通过 _config.yml 中的 disqus shortname 与 google_analytics 衡量 ID 启用。样式定制只需复制 _sass/tao/_variables.scss 并修改变量值。
限制方面,主题资料未说明其生产环境适用性、浏览器兼容范围或性能表现;演示图片、字体、图标等第三方素材的许可需单独核对,不能仅凭代码的 MIT 许可判断。
适合你的项目吗?
适用场景
- 搭建以文章阅读为主的个人博客
- 需要按年份、分类或标签整理历史文章
- 希望在文章中渲染数学公式并接入评论与访问统计
- 在 GitHub Pages 上以远程主题方式快速启用博客外观
适合人群
- 使用 Jekyll 构建静态博客的开发者
- 偏好极简、以正文排版为中心的博客作者
- 需要深色模式与归档页的写作型站点
- 在 GitHub Pages 上托管站点并希望远程引用主题的用户
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
在 Gemfile 中加入 gem "jekyll-theme-tao",并在 _config.yml 设置 theme: jekyll-theme-tao,然后执行 bundle
- 2
GitHub Pages 场景可改用 jekyll-remote-theme 插件,并设置 remote_theme: vfvong/jekyll-theme-tao
- 3
导航与社交链接分别配置在 _data/navigation.yml 与 _data/social.yml
- 4
MathJax 默认关闭,需在目标页面设置 math: true;Disqus 与 Google Analytics 4 需在 _config.yml 填写对应标识
- 5
修改颜色、字体等样式时复制 _sass/tao/_variables.scss 并调整变量值
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- MathJax 数学公式渲染默认关闭,需在目标页面设置 math: true 才会启用。
- 启用 Disqus 评论需自行注册 Disqus 账号并获取 shortname,评论数据由该第三方服务托管。
- 启用 Google Analytics 4 需自行注册 Google Analytics 账号并提供衡量 ID,访问统计依赖该外部服务。
- 在 GitHub Pages 上使用需额外引入 jekyll-remote-theme 插件并配置 remote_theme,属于外部依赖。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
Tao relies on the [MathJax](https://www.mathjax.org/) to render math. The MathJax is disabled by default.
README 原文
To enable [Disqus](https://disqus.com/), just set the [Disqus shortname](https://help.disqus.com/en/articles/1717111-what-s-a-shortname) in the `_config.yml`
README 原文
Tao support the [Google Analytics 4](https://support.google.com/analytics/answer/10089681). To enable it, just set the Measurement ID in the `_config.yml`
README 原文
https://github.com/vfvong/jekyll-theme-tao/blob/main/LICENSE.txthttps://github.com/vfvong/jekyll-theme-tao/blob/main/README.mdIf your website is hosted on GitHub Pages, you can install this theme via [`jekyll-remote-theme`](https://github.com/benbalter/jekyll-remote-theme).
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料一般 · 72 / 100
- 技术栈
- Jekyll
- 网站类型
- 博客
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2022-07-21
- 截图检查日期
- 2026-10-02
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Jekyll。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 3fcbb6c96e0f8fe190d74f2548f35932f0c3efb883be33f33495b40c0d7fcb7b
2026-10-02T10:49:32.931Z
来源文件 / 仓库# Tao <!-- omit in toc -->
<a href="https://jekyll-themes.com">
<img src="https://img.shields.io/badge/featured%20on-JekyllThemes-red.svg" height="20" alt="Jekyll Themes Shield" loading="lazy">
</a>
Tao is a content-first minimalist Jekyll theme for blogs.
Check the [demo](http://vfvong.blog/jekyll-theme-tao/).

## Highlight Features <!-- omit in toc -->
- Support the CSS resets [Normalize](https://github.com/necolas/normalize.css)
- Support [Font Awesome](https://fontawesome.com/)
- Support [MathJax](https://www.mathjax.org/)
- Support [Disqus](https://disqus.com/)
- Support [Google Analytics 4](https://analytics.google.com/analytics/web/)
- Light and dark mode, via [`prefers-color-scheme`](https://web.dev/prefers-color-scheme/)
- Archive pages implemented in pure [Liquid](https://shopify.github.io/liquid/)
## Table of Contents <!-- omit in toc -->
- [Installation](#installation)
- [Usage](#usage)
- [Basic Configuration](#basic-configuration)
- [Specifying the Page Language](#specifying-the-page-language)
- [Customizing the Head](#customizing-the-head)
- [Navigation](#navigation)
- [Social Links](#social-links)
- [Archive Pages](#archive-pages)
- [MathJax](#mathjax)
- [Disqus](#disqus)
- [Google Analytics 4](#google-analytics-4)
- [More Customization](#more-customization)
- [Contributing](#contributing)
- [Development](#development)
- [License](#license)
## Installation
Add this line to your Jekyll site's `Gemfile`:
```ruby
gem "jekyll-theme-tao"
```
And add this line to your Jekyll site's `_config.yml`:
```yaml
theme: jekyll-theme-tao
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install jekyll-theme-tao
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: vfvong/jekyll-theme-tao
```
## Usage
### Basic Configuration
You can refer to the [`_config.yml`](https://github.com/vfvong/jekyll-theme-tao/blob/gh-pages/_config.yml) of the demo to set some basic configuration of your site.
### Specifying the Page Language
You can specify the language on each page by setting the `lang` property. If the property is not set, the `site.lang` would be referred. If the `site.lang` is not set, the default value `en` would be applied.
### Customizing the Head
If you want to put more data into the `<head>`, you don't need to copy the whole `_includes/head.html` file from this repo and overwrite it in your repo. You just need to create a `_includes/custom-head.html` file in your repo, and put some data into there. These data will be automatically imported into the `<head>`.
### Navigation
The navigation in Tao is very easy to configure, just specify the titles and URLs in the [`_data/navigation.yml`](https://github.com/vfvong/jekyll-theme-tao/blob/gh-pages/_data/navigation.yml) file, for example,
```yml
- title: Home
url: /
- title: About
url: /about.html
- title: Archive
url: /archive.html
```
### Social Links
The social links in Tao is also very easy to connfigure. You don't need to import any large SVG file to render the icons because Tao supports the [Font Awesome](https://fontawesome.com/). Specify the titles, URLs, and icons in the [`_data/social.yml`](https://github.com/vfvong/jekyll-theme-tao/blob/gh-pages/_data/social.yml) file, for example,
```yml
- title: Email
url: mailto:[email protected]
icon: fas fa-envelope
- title: Twitter
url: https://twitter.com/vfvong
icon: fab fa-twitter
- title: GitHub
url: https://github.com/vfvong
icon: fab fa-github
```
### Archive Pages
Tao provides a template `archive` to archive posts by years, categories, or tags.
If you want to show an archive page of years, just create a file and put these front matter in it:
```yml
---
layout: archive
type: years
title: Archive by Years
---
```
Similarly, if you want to show an archive page of categories, just create a file and put these front matter in it:
```yml
---
layout: archive
type: categories
title: Archive by Categories
---
```
Besides, if you want the categories and tags displayed in the post to link to the archive pages, you need to configure the paths to the category and tag archive pages in the `_config.yml` file, for example:
```yml
categories_path: /categories/
tags_path: /tags/
```
### MathJax
Tao relies on the [MathJax](https://www.mathjax.org/) to render math. The MathJax is disabled by default. You need to set `math: true` on the page where you want to enable the MathJax.
### Disqus
To enable [Disqus](https://disqus.com/), just set the [Disqus shortname](https://help.disqus.com/en/articles/1717111-what-s-a-shortname) in the `_config.yml`, for example,
```yml
disqus: <your disqus shortname>
```
### Google Analytics 4
Tao support the [Google Analytics 4](https://support.google.com/analytics/answer/10089681). To enable it, just set the Measurement ID in the `_config.yml`, for example,
```yml
google_analytics: G-XXXXXXXXXX
```
### More Customization
You can easily modify some styles of this theme, such as colors and fonts. You don't have to copy a lot of CSS into your repository, just copy [`_sass/tao/_variables.scss`](_sass/tao/_variables.scss) and change the variable value.
## Contributing
Bug reports and pull requests are welcome on GitHub at [https://github.com/vfvong/jekyll-theme-tao](https://github.com/vfvong/jekyll-theme-tao). 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-tao.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 · 博客
