Jekyll博客

chalk — Jekyll 博客模板

作者 nielsenramon

Chalk 是一个基于 Jekyll 的免费博客主题,采用 MIT 许可,内置标签筛选、深色/浅色主题、RSS、站点地图与 SEO 相关配置。

看看你的网站会是什么样

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

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

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

全部页面与视图 3

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

采集于 2026-09-30查看来源

值得关注的模板亮点

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

01

基于 Jekyll 的博客主题,采用 MIT 许可发布

02

内置标签筛选与可选标签导航

03

支持深色与浅色主题切换

04

自动生成 RSS 订阅源和站点地图

05

集成 Disqus 评论与 Google Analytics

06

提供自定义 404 页面与代码高亮样式

模板详细介绍

Chalk 是面向 Jekyll 的博客主题,仓库以 MIT 许可发布,代码可免费使用、修改、商用和分发,分发时需保留版权声明与许可声明。主题提供文章列表、关于页面、自定义 404 页面、标签筛选与可选标签导航,并支持分页配置、点击放大图片、视频嵌入、表情符号和本地字体。

内容与分发方面,Chalk 自动生成 RSS 订阅源和站点地图,提供阅读时长指示、文章在 Facebook、Twitter 和 Google Plus 上的分享链接,并集成 Disqus 评论与 Google Analytics。界面支持深色与浅色主题切换,附带代码高亮样式,并声明支持现代浏览器。

构建与部署上,主题依赖 Ruby 与 Node 环境,使用 npm 脚本完成初始化、本地运行和发布。需要注意的是,Chalk 不支持 GitHub Pages 对 Jekyll 的标准托管方式,因为其使用了 GitHub Pages 不支持的 Jekyll 插件;发布需通过 npm run publish 构建并推送到 gh-pages 分支。若作为项目站点使用,还需在 _config.yml 中设置 baseurl。演示图片、字体、图标等第三方素材的许可需单独核对,域名、托管等外部服务可能产生额外费用。

Jekyll博客

适合你的项目吗?

适用场景

  • 搭建以文章列表为主的个人技术博客
  • 需要标签筛选和分页浏览的写作站点
  • 希望使用 Jekyll 并自行控制构建与部署流程的博客项目
  • 需要 RSS、站点地图和基础 SEO 配置的内容站点

适合人群

  • 熟悉 Jekyll 与 npm 脚本的开发者
  • 接受通过 gh-pages 分支手动发布流程的博客作者
  • 需要深色/浅色主题和标签浏览的写作者

上手与定制指南

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

  1. 1

    需先安装 Ruby 与 Node 环境,再运行 npm run setup 初始化

  2. 2

    本地开发使用 npm run local 启动 Jekyll

  3. 3

    发布前将改动提交到非 gh-pages 分支,再运行 npm run publish 构建并推送到 gh-pages 分支

  4. 4

    作为项目站点使用时,需在 _config.yml 中把 baseurl 设为仓库名称

  5. 5

    Chalk 不支持 GitHub Pages 的标准 Jekyll 托管方式,因其使用了 GitHub Pages 不支持的插件

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • Chalk 不支持 GitHub Pages 对 Jekyll 的标准托管方式,因为使用了 GitHub Pages 不支持的 Jekyll 插件,需改用 npm run publish 构建并推送到 gh-pages 分支发布。
  • 若作为项目站点(project site)使用,必须在 _config.yml 中将 baseurl 设置为仓库名称,否则站点路径可能出错。
  • 发布前需将改动提交到除 gh-pages 以外的工作分支,再运行 npm run publish,不能直接在 gh-pages 分支上开发。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

Chalk does not support the standard way of Jekyll hosting on GitHub Pages.

README 原文

you must set the `baseurl` in `_config.yml` to the name of your repository.

README 原文

commit your changes to any working branch except the `gh-pages` one

README 原文
https://github.com/nielsenramon/chalk/blob/master/LICENSEhttps://github.com/nielsenramon/chalk/blob/master/README.md

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

项目核对记录与介绍依据

模板资料

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

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

这个项目需要核对什么

记录的仓库更新时间
2024-04-09
截图检查日期
2026-10-01

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

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

查看具体选型方法 →

介绍的制作与核对状态

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

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

查看当时使用的来源资料

SHA-256: 6960dae1d36a9cfb0f8c639acb37fa2b9159edb718725ac453d09a99df39448e

2026-10-01T13:26:01.706Z

来源文件 / 仓库
![](_assets/images/documentation/[email protected])

Chalk is a high quality, completely customizable, performant and 100% free blog template for Jekyll.

## Overview

Features:
  - About page.
  - Automatic RSS feed.
  - Automatic sitemap.
  - Automatic time to read post indicator.
  - Cross browser support (supports all modern browsers).
  - Custom 404 page.
  - Custom code highlighting.
  - Customizable pagination.
  - Dark and Light theme.
  - Easy setup and deploying.
  - Enlarge images on click.
  - Filter on tags.
  - Optional tag navigation.
  - Frequently updated with new versions.
  - Many social media links supported.
  - Media embed for videos.
  - PageSpeed optimized.
  - Proper sharing links for posts on Facebook, Twitter and Google Plus.
  - SEO optimized.
  - Support for local fonts.
  - Support for emoji's.

Integrations
  - [Disqus](https://disqus.com/)
  - [Google Analytics](https://analytics.google.com/analytics/web/)
  - [Google Fonts](https://fonts.google.com/)
  - [SVG Icons](https://icomoon.io/)

Used tools
  - [Autoprefixer](https://github.com/postcss/autoprefixer)
  - [Circle CI](https://circleci.com/)
  - [Html-proofer](https://github.com/gjtorikian/html-proofer)
  - [Jekyll](https://jekyllrb.com/)
  - [Jekyll Assets](https://github.com/jekyll/jekyll-assets)
  - [Jekyll Sitemap](https://github.com/jekyll/jekyll-sitemap)
  - [HTML5 Boilerplate](https://html5boilerplate.com/) (Influenced by)
  - [Kickster](https://kickster.nielsenramon.com/)
  - [Retina.js](https://imulus.github.io/retinajs/)
  - [STACSS](https://stacss.nielsenramon.com/)
  - [Travis](https://travis-ci.org/)
  - [Yarn](https://yarnpkg.com)
  - [Zooming](https://github.com/kingdido999/zooming/)

## Usage

### Installation

If you haven't installed the following tools then go ahead and do so (make sure you have [Homebrew](https://brew.sh/) installed):

    brew install ruby
    brew install npm

On windows, install Ruby and Node with the installers found here:

  - [Ruby](https://rubyinstaller.org/)
  - [Node.js](https://nodejs.org/en/download/)

Next setup your environment:

    npm run setup

### Development

Run Jekyll:

    npm run local

## Deploy to GitHub Pages

Before you deploy, commit your changes to any working branch except the `gh-pages` one and run the following command:

    npm run publish

**Important note**: Chalk does not support the standard way of Jekyll hosting on GitHub Pages. You need to deploy your working branch (can be any branch, for xxx.github.io users: use another branch than `master`) with the `npm run publish` command. Reason for this is because Chalk uses Jekyll plugins that aren't supported by GitHub pages. The `npm run publish` command will automatically build the entire project, then push it to the `gh-pages` branch of your repo. The script creates that branch for you so no need to create it yourself. Also, if you are developing a **project site**, you must set the `baseurl` in `_config.yml` to the name of your repository.

You can find more info on how to use the `gh-pages` branch and a custom domain [here](https://help.github.com/articles/quick-start-setting-up-a-custom-domain/).

[View this](https://github.com/nielsenramon/kickster#automated-deployment-with-circle-ci) for more info about automated deployment with Circle CI.

## License

MIT License

## Contributing

1. Fork it (https://github.com/[my-github-username]/chalk/fork)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
反馈内容错误

看看同类模板

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