Jekyll博客

mere-blog-theme — Jekyll 博客模板

作者 chrisrhymes

Mere 是一个基于 Jekyll 与 Bulma 的极简博客主题,提供首页文章列表、分页博客页、作者页与文章内页等基础博客结构。

看看你的网站会是什么样

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

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

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

全部页面与视图 3

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

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

值得关注的模板亮点

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

01

基于 Jekyll 与 Bulma 构建的极简博客主题

02

首页展示最新文章并支持分页,另有独立文章列表页

03

文章 front matter 可配置头图、作者、副标题,并支持 intro 引导区域

04

通过 _authors 目录与 authors 集合生成作者页,支持头像、简介与社交链接

05

Bulma v1 提供自动深色模式,可在 _config.yml 中强制指定浅色或深色

06

以 gem 形式发布,可通过 Gemfile 或 gem install 安装

模板详细介绍

Mere 是一个面向 Jekyll 的极简博客主题,使用 Bulma 前端框架构建,适用于 Jekyll 站点与 GitHub Pages。主题定位为“只做博客”,不包含博客之外的功能。

内容结构上,主题提供首页展示最新文章并支持分页,文章列表页用于列出全部博客文章;文章支持在 front matter 中设置标题、头图、作者与副标题,并可选用 intro 与 intro_image 生成文章开头的引导区域。作者功能通过 _authors 目录与 authors 集合实现,作者页可展示头像、职位、简介、个人网站及社交链接,并列出该作者的最新文章。

配置方面,主题通过 _config.yml 设置分页数量与路径、Google Analytics 标识,以及强制浅色或深色主题;Bulma v1 自带基于 prefers-color-scheme 的自动深色模式。主题要求 Jekyll 4.3 及以上版本以兼容 Bulma v1,因此 GitHub Pages 的默认构建(仅支持 Jekyll 3.9)无法直接使用,需要改用 GitHub Actions 构建部署。

主题以 gem 形式发布,可通过 Gemfile 引入,也可本地安装。演示站包含桌面端首页、手机端首页与作者内页截图,可作为结构参考。

Jekyll博客

适合你的项目吗?

适用场景

  • 使用 Jekyll 搭建以文章列表和作者信息为主的个人博客
  • 在 GitHub Pages 上部署博客,并接受改用 GitHub Actions 进行构建
  • 需要文章头图、引导段落与作者页等基础博客结构的站点
  • 希望基于 Bulma 前端框架并自带深色模式切换的博客项目

适合人群

  • 熟悉 Jekyll 基本用法、能编辑 _config.yml 与 front matter 的使用者
  • 以文字与配图文章为主、不需要复杂页面类型的博客
  • 愿意为 Bulma v1 兼容性配置 GitHub Actions 构建流程的站点维护者

上手与定制指南

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

  1. 1

    在 Gemfile 中加入 gem "mere-blog-theme",并在 _config.yml 中设置 theme: mere-blog-theme,然后执行 bundle

  2. 2

    首页文件需命名为 index.html,并在 _config.yml 中配置 paginate 与 paginate_path

  3. 3

    文章放在 _posts 目录,front matter 至少包含 layout、title、image 与 author;头图建议使用宽度不低于 1400px 的宽图

  4. 4

    启用作者功能需创建 _authors 目录与 authors.md 页面,并在 _config.yml 中将 authors 集合的 output 设为 true;作者 name 必须与文章中的 author 完全一致

  5. 5

    主题要求 Jekyll 4.3 及以上版本,GitHub Pages 默认构建不适用,需改用 GitHub Actions 构建部署

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • GitHub Pages 默认构建仅支持 Jekyll 3.9,本主题需 Jekyll 4.3+,因此无法使用 GitHub Pages 默认构建,必须改用 GitHub Actions 自行构建部署。
  • 启用访问统计需在 _config.yml 中填入 Google Analytics 的 UA 标识,属于依赖第三方外部服务的可选配置。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

The standard build for GitHub pages only works with Jekyll 3.9, so you will need to migrate to using a GitHub action to build and deploy your site.

README 原文

To enable Google Analytics add `google_analytics: UA-xxxxxxxx` to your `_config.yml`

README 原文
https://github.com/chrisrhymes/mere-blog-theme/blob/master/LICENSE.txthttps://github.com/chrisrhymes/mere-blog-theme/blob/master/README.md

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

项目核对记录与介绍依据

模板资料

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

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

这个项目需要核对什么

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

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

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

查看具体选型方法 →

介绍的制作与核对状态

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

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

查看当时使用的来源资料

SHA-256: 6d3e5ef4aeca80681e2c58baa2b58a6b9250c45e4c20e5a309899867ab11c545

2026-10-02T10:45:23.170Z

来源文件 / 仓库
# mere-blog-theme

[![Gem Version](https://badge.fury.io/rb/mere-blog-theme.svg)](https://badge.fury.io/rb/mere-blog-theme)
![Gem](https://img.shields.io/gem/dt/mere-blog-theme)

Mere is a minimal and simple blog theme, and nothing more, for use with Jekyll and GitHub Pages. It has been built with the Bulma frontend framework.

It has a homepage which displays the latest 6 posts and a paginated blog page used to list out all blog posts.

**Mere Blog Theme uses Jekyll 4.3 for compatibility with Bulma v1**

## Installation

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

```ruby
gem "mere-blog-theme"
```

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

```yaml
theme: mere-blog-theme
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install mere-blog-theme

## Upgrading to v1

Version 1 of mere-blog-theme uses version 1 of Bulma. Bulma v1 has been updated to use dart sass and Jekyll was updated to use dart sass from version 4.3 and up, so this is now the minimum supported version of Jekyll for this theme.

The standard build for GitHub pages only works with Jekyll 3.9, so you will need to migrate to using a GitHub action to build and deploy your site.

Please read through the [Jekyll docs for GitHub Actions](https://jekyllrb.com/docs/continuous-integration/github-actions/) for more information.

## Usage

- [Blog Setup](#blog-setup)
- [Posts](#posts)
  - [Post Intro](#post-intro)
- [Homepage](#homepage)
- [Authors](#authors)
- [Google Analytics](#google-analytics)
- [Themes](#themes)

### Blog Setup

As of 0.4, the blog posts will be displayed on the homepage including pagination, instead of in a separate blog page.

**The homepage page needs to be called index.html for the blog pagination**

Set the paginator up in the `_config.yml` file with the posts per page and the path to the blog.

```yaml
paginate: 6
paginate_path: "/page:num"
```

### Posts

Posts should be created in the `_posts` directory as per standard Jekyll usage. The front matter should contain the layout of post, the image to use in the header and the homepage / blog page, the title of the post and the author of the post. You can also set a subtitle for the post if you want to.

```yaml
layout: post
title: First Post
image: /img/home.jpg
author: C.S. Rhymes
```

Wide images will work best, with a minimum width of 1400px.

#### Post Intro

Version 0.3 allows you to provide a intro and an intro image in your frontmatter. When creating your post add a short `intro` text an `intro_image` as a path to an image and then specify the `intro_image_ratio` which should be a [Bulma image](https://bulma.io/documentation/elements/image/) class.

```yaml
layout: post
title: Post with Intro
author: Guest Author
intro: This is the introduction text for this post. It appears large and bold at the top of the post
intro_image: /img/home.jpg
intro_image_ratio: is-16by9
```

Only the intro is required if you want to display it. If you don't want an image then don't specify one and just the intro text will display.

### Homepage

Finally, configure the homepage by creating an `index.html` page and configure the frontmatter with the layout of homepage, the title, subtitle (optional) and the image. You can set the hero_height to is-large if you want to make the homepage header a bit larger.

```yaml
layout: homepage
title: Mere Blog Theme
subtitle: This is the demo site for the Mere Blog Theme
image: /img/home.jpg
hero_height: is-large
```

### Authors

To enable the authors section, create a directory named `_authors` and create a page for each author within it. The author pages should have front matter in the following format.

**NOTE** The author name should match the author name in their posts exactly.

```yaml
layout: author
title: The authors page title
name: Author Name
position: Web Designer
description: The short description of the author
avatar: /img/avatar.png
website: https://www.csrhymes.com
```

The website and avatar are optional, but if you are stuck for author images, why not try [https://getavataaars.com](https://getavataaars.com). Square images work best. You can then write about the author in the page content.

Next, create an `authors.md` page in the root of your site and set the layout to authors.

```yaml
layout: authors
title: Authors
description: The authors page
```

Add authors as a collection in your `_config.yml` file with output set to true so the pages are generated.

```yaml
collections:
  authors:
    output: true
```

When you build your site, the authors link will appear in the navbar. The authors page will display the authors you have added. You can then click on their name or image to view the author page, along with a list of their 4 latest posts.

There will also be a link back to the authors page at the bottom of the post.

#### Author Social Profiles

**New in 0.2.1 **

You can add links to an author's social profile pages by adding the profile name and link to the front matter in the author's page (such as `_authors/chris.md`). The below social profiles are available.

```yaml
facebook: https://www.facebook.com/
twitter: https://www.twitter.com/
github: https://www.github.com/
gitlab: https://www.gitlab.com
instagram: https://www.instagram.com
linkedin: https://www.linkedin.com/
medium: https://www.medium.com/
stack_overflow: https://stackoverflow.com/
```

### Google Analytics

To enable Google Analytics add `google_analytics: UA-xxxxxxxx` to your `_config.yml` replacing the UA-xxxxxxxx with your Google Analytics property.

### Themes

Bulma v1 has a concept of themes and [automatic dark mode](https://bulma.io/documentation/features/dark-mode/).

> Modern browsers come with a way to detect if a user has set their theme preference to light or dark by using the prefers-color-scheme keyword.

To disable this behaviour and force a theme, set the `force_theme:` in the \_config.yml to either 'dark' or 'light'.

```yaml
# _config.yml
force_theme: light
```

## Contributing

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

## License

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

看看同类模板

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