Hugo博客

minimal-esque — Hugo 博客模板

作者 obscuredetour

minimal-esque 是一个 Hugo 的深色极简博客主题,由 Minimal 主题改造而来,并受 Ghost 的 Casper 主题启发,内置 Simply Navigation 响应式导航。

看看你的网站会是什么样

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

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

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

全部页面与视图 2

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

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

值得关注的模板亮点

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

01

基于 Minimal 主题改造、受 Ghost Casper 启发的深色极简博客主题

02

移除 Bootstrap、jQuery 及其依赖,文章卡片布局仅用 Flexbox 实现并保持响应式

03

内置 Simply Navigation:基于 Flexbox 与原生 JavaScript 的轻量导航

04

通过 config.toml 的 accent、backgroundColor、showBorder 等参数调整外观

05

可选 Google Fonts 字体与 highlight.js 语法高亮,默认关闭需手动启用

06

文章 front matter 支持 image、noImage、description、tags 等字段

模板详细介绍

minimal-esque 是面向 Hugo 的深色极简博客主题,作者为 obscuredetour。它基于 calintat 的 Minimal 主题改造,灵感来自 Ghost 的 Casper 主题,仓库采用 MIT 许可。主题移除了 Bootstrap、jQuery 及其依赖,改用 Flexbox 实现文章卡片布局,并保持响应式;同时内置 Simply Navigation,一套基于 Flexbox 与原生 JavaScript 的轻量导航,适配各类设备。

主题通过 config.toml 中的参数调整外观:accent 控制强调色,backgroundColor 控制背景色,showBorder 控制边框显示。字体通过 Google Fonts 加载,由 font 参数指定字体名;该功能默认关闭,需在 config.toml 与 css.html 中取消注释后启用。语法高亮由 highlight.js 提供,默认关闭,需将 highlight 设为 true,并通过 highlightStyle 指定样式、highlightLanguages 指定额外语言,样式与语言名需使用连字符分隔的小写形式。

文章在 Markdown 文件头部使用 front matter 声明 title、date、time、image、description、tags;没有配图时省略 image 并加入 noImage: "no-image",为元素添加 no-image 类。站点 Logo 通过替换 static 目录中的 logo-obj.svg 完成。安装方式支持克隆或 git submodule,作者推荐后者,并建议复制 exampleSite 中的 config.toml 到站点根目录、删除站点自带的 archetypes/default.md 以使用主题的 archetype。

Hugo博客

适合你的项目吗?

适用场景

  • 搭建个人深色风格的技术或生活博客
  • 需要一个不依赖 Bootstrap、jQuery 的轻量 Hugo 博客主题
  • 希望用 Flexbox 布局文章卡片并自带响应式导航的站点
  • 需要可切换强调色、背景色与语法高亮样式的博客

适合人群

  • 使用 Hugo 构建个人博客的开发者
  • 偏好深色极简视觉风格的写作者
  • 希望减少前端依赖、自行调整主题参数的用户

上手与定制指南

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

  1. 1

    推荐以 git submodule 方式安装:git submodule add https://github.com/obscuredetour/minimal-esque.git themes/minimal-esque,随后 init 与 update

  2. 2

    复制 themes/minimal-esque/exampleSite/config.toml 到站点根目录并按需修改,部分字段可省略

  3. 3

    删除站点自带的 archetypes/default.md,改用主题提供的 archetype

  4. 4

    替换 static 目录中的 logo-obj.svg 以更换站点 Logo

  5. 5

    字体与语法高亮默认关闭,需在 config.toml 与 css.html 中取消注释后启用

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • 字体功能依赖 Google Fonts 外部服务,需联网加载;该功能默认关闭,启用后站点会向 Google 发起请求。
  • 语法高亮依赖第三方库 highlight.js,默认关闭,需在配置中启用并自行确认其许可与加载方式。
  • 主题基于 calintat 的 Minimal 主题改造,沿用其 MIT 许可与版权声明,再分发时须保留原版权与许可文本。
  • 内置的 Simply Navigation 为独立第三方组件,其许可与版权需单独核实并保留相应声明。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

The theme uses [Google Fonts](https://fonts.google.com) to load its font.

README 原文

The theme supports syntax highlighting thanks to [highlight.js](https://highlightjs.org).

README 原文

This theme was created using the [Minimal](https://github.com/calintat/minimal) blog theme as a boilerplate

README 原文

Includes [Simply Navigation](https://github.com/obscuredetour/simply-nav), a dead simple lightweight navigation

README 原文
https://github.com/obscuredetour/minimal-esque/blob/master/LICENSE.mdhttps://github.com/obscuredetour/minimal-esque/blob/master/README.md

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

项目核对记录与介绍依据

模板资料

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

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

这个项目需要核对什么

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

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

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

查看具体选型方法 →

介绍的制作与核对状态

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

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

查看当时使用的来源资料

SHA-256: 7c563e253d1339d086a77fd9fefc364c015c4ff0c0b3fc341e3fe171d6ff318e

2026-10-02T17:13:40.748Z

来源文件 / 仓库
# Minimal-esque
A dark minimal-esque blog theme for [Hugo](https://gohugo.io). 
- Lightweight
- Dependency free
- Fully responsive
- Includes [Simply Navigation](https://github.com/obscuredetour/simply-nav), a dead simple lightweight navigation for all devices built with Flexbox and vanilla JS. [Demo simply navigation](https://obscuredetour.github.io/simply-nav/)

View the theme on my [blog](https://blog.jeffreysummers.me).

This theme was created using the [Minimal](https://github.com/calintat/minimal) blog theme as a boilerplate and was inspired by the Ghost [Casper](https://github.com/TryGhost/Casper) theme.


## Changes
Here are the most notable changes from [Minimal](https://github.com/calintat/minimal)
* Removal of Bootstrap, jQuery and all their dependencies. Yet still fully responsive.
* Article card layout built using Flexbox only.
* Bundled navigation, see [Simply Navigation](https://github.com/obscuredetour/simply-nav).

## Installation

You can install the theme either as a clone or submodule.

I recommend the latter. From the root of your Hugo site, type the following:

```
$ git submodule add https://github.com/obscuredetour/minimal-esque.git themes/minimal-esque
$ git submodule init
$ git submodule update
```

Now you can get updates to Minimal-esque in the future by updating the submodule:

```
$ git submodule update --remote themes/minimal-esque
```

## Configuration

After installation, take a look at the `exampleSite` folder inside `themes/minimal-esque`.

To get started, copy the `config.toml` file inside `exampleSite` to the root of your Hugo site:

```
$ cp themes/minimal-esque/exampleSite/config.toml .
```

Now edit this file and add your own information. Note that some fields can be omitted.

I recommend you use the theme's archetypes so now delete your site's `archetypes/default.md`.

### Post Markdown
The beginning of each post will include the following at the top of the file
```
---
title: "Post title"
date: 2018-09-23
time: "8"
image: "/images/post-image.jpg"
description: 'A description or snippet that you want displayed on the article card'
tags: ["web-development", "design", "css"]
---
```
If no image is available for the post then omit the `image:` property and replace it with the following line:  `noImage: "no-image"`. See the example below. This simply adds a `no-image` class to the HTML element.
```
---
title: "Post title"
noImage: "no-image"
...
```

### Logo
Replace the `logo-obj.svg` file within the `static` directory with one of your own.

### Customization

Some options are disabled by default. To re-enable, remove the comments in `config.toml` as well as `css.html`.

## Features

You can tweak the look of the theme to suit your needs in a number of ways:

 - The accent colours can be changed by using the `accent` field in `config.toml`.

- You can also change the background colour by using `backgroundColor`.

For best results, I recommend you use a dark accent colour with a light background, for example:

```sass
[params]
    accent = "red"
    showBorder = true
    backgroundColor = "white"
```

### Fonts

The theme uses [Google Fonts](https://fonts.google.com) to load its font. To change the font:

```toml
[params]
    font = "Raleway" # should match the name on Google Fonts!
```
This feature was recently disabled. To re-enable, remove the comments in `config.toml` as well as `css.html`.

### Syntax highlighting

The theme supports syntax highlighting thanks to [highlight.js](https://highlightjs.org).

It's disabled by default, so you have to enable it by setting `highlight` to `true` in your config.

You can change the style used for the highlighting by using the `highlightStyle` field.

Only the "common" languages will be loaded by default. To load more, use `highlightLanguages`.

A list of all the available styles and languages can be found [here](https://highlightjs.org/static/demo/).

Please note the style and languages should be written in hyphen-separated lowercase, for example:

```toml
[params]
    highlight = true
    highlightStyle = "solarized-dark"
    highlightLanguages = ["go", "haskell", "kotlin", "scala", "swift"]
```
反馈内容错误

看看同类模板

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