Hugo启动器

hugo-fraktur-theme — Hugo 启动器模板

作者 nthnbch

基于 Hugo 的极简主题,混用 Fraktur 与 Inter 字体,去掉分页与分类法,专注正文阅读。

看看你的网站会是什么样

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

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

来自项目 README 的原始预览。

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

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

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

值得关注的模板亮点

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

01

H1 使用 UnifrakturCook Fraktur 字体,正文与 H2/H3 使用 Inter,形成混合排版

02

默认关闭 taxonomy 与 term,文章列表不分页,页面结构保持简单

03

颜色基于 Material Design 的 CSS 自定义属性,可在 assets/css/extended/custom.css 覆盖

04

字体可通过 config.toml 的 googleFontsUrl 与 CSS 变量替换

05

社交链接由 data/social.json 配置,支持可选的分析服务接入

06

README 声明包含 SEO meta、Schema.org、Open Graph 标记与 WCAG 对比度

模板详细介绍

hugo-fraktur-theme 是一个 Hugo 主题,作者为 nthnbch,采用 MIT 许可。它把 Fraktur(UnifrakturCook)用于 H1 标题,正文与 H2、H3 使用 Inter 字体,形成标题装饰性、正文可读性的混合排版。主题刻意去掉分页与分类法(tags/categories),配置中通过 disableKinds = ["taxonomy", "term"] 关闭,文章列表不分页,页面结构以内容为中心。样式基于 Material Design 的 CSS 自定义属性,颜色与字体变量可在 assets/css/extended/custom.css 中覆盖。社交链接通过 data/social.json 配置,可选接入 Google Analytics 或 Plausible。README 声明包含 SEO meta 标签、Schema.org 与 Open Graph 标记,以及符合 WCAG 对比度的导航与配色。仓库提供作者在 README 中附带的截图,另有线上演示站点 nathan.swiss。主题未包含分页与分类法,因此不适合需要标签归档、多页列表的站点;演示图片、字体等第三方素材需按各自许可单独核对。

Hugo启动器

适合你的项目吗?

适用场景

  • 个人博客或写作站点,希望标题有装饰性字体、正文保持易读
  • 不需要标签、分类归档与分页的纯文章列表站点
  • 想用 CSS 自定义属性快速调整配色与字体的 Hugo 项目
  • 需要为页面补充 Open Graph、Schema.org 等基础元信息的站点

适合人群

  • 使用 Hugo 构建、偏好极简内容结构的个人站点
  • 接受无分页、无分类法导航的博客作者
  • 愿意通过覆盖 CSS 变量和 config.toml 参数做定制的开发者

上手与定制指南

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

  1. 1

    以 git submodule、git clone 或下载解压方式放入 themes/hugo-fraktur-theme 目录

  2. 2

    在 config.toml 中设置 theme = "hugo-fraktur-theme",并按需配置 disableKinds、params 等项

  3. 3

    自定义颜色或字体时,新建 assets/css/extended/custom.css 覆盖 CSS 变量

  4. 4

    社交链接写入 data/social.json;分析服务通过 google_analytics_id 或 plausible_analytics_domain 参数启用

  5. 5

    演示图片与字体等第三方素材需按各自许可单独核对,MIT 许可仅覆盖主题代码

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • 可选接入 Google Analytics:需自行注册 Google Analytics 账号并提供衡量 ID,属于外部服务,非主题代码的一部分。
  • 可选接入 Plausible 分析:需在 Plausible 注册账号并配置自有域名,属于外部付费/第三方服务。
  • 默认从 Google Fonts 加载 Inter 与 UnifrakturCook 字体,需访问外部字体服务;离线或受限网络下需自行托管字体。
  • 使用前需自行安装 Hugo 静态站点生成器,主题本身不包含构建工具。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

google_analytics_id = "G-XXXXXXXXXX"

README 原文

# plausible_analytics_domain = "yourdomain.com"

README 原文

googleFontsUrl = "https://fonts.googleapis.com/css2?family=Inter

README 原文

Download the theme from GitHub and extract it to `themes/hugo-fraktur-theme`

README 原文
https://github.com/nthnbch/hugo-fraktur-theme/blob/master/LICENSEhttps://github.com/nthnbch/hugo-fraktur-theme/blob/master/README.md

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

项目核对记录与介绍依据

模板资料

来源平台
Hugo Themes
资料与维护参考分
资料一般 · 71 / 100
技术栈
Hugo
网站类型
启动器
这个分数如何计算

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

这个项目需要核对什么

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

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

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

查看具体选型方法 →

介绍的制作与核对状态

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

审核声明: [email protected] · 2026-10-04

查看当时使用的来源资料

SHA-256: 71d6e4c798dde4f25a95e65045edc4af71ece489fcafdbd6a7867ce9e0dd32e6

2026-10-03T13:43:54.554Z

来源文件 / 仓库
# Hugo Fraktur Theme

A clean, modern Hugo theme featuring mixed Fraktur/Inter typography. Built for readability, elegance, and performance with no pagination or taxonomy bloat.

![Hugo Fraktur Theme](https://raw.githubusercontent.com/nthnbch/hugo-fraktur-theme/master/images/screenshot.png)

## Features

- **Mixed Typography**: UnifrakturCook Fraktur combined with Inter for selective emphasis
- **No Pagination**: Clean, simple post listings without pagination complexity
- **No Taxonomies**: Streamlined without tags/categories overhead  
- **Minimalist Layout**: Pure focus on content
- **Responsive Design**: Optimized for all screen sizes
- **Fast Loading**: Lightweight and optimized assets
- **SEO Optimized**: Comprehensive meta tags, Schema.org markup, and Open Graph
- **Accessible**: WCAG compliant color contrasts and navigation

## Demo

Live demo: [nathan.swiss](https://nathan.swiss)

## Installation

### Method 1: Git Submodule (Recommended)

```bash
cd your-hugo-site
git submodule add https://github.com/nthnbch/hugo-fraktur-theme themes/hugo-fraktur-theme
```

### Method 2: Clone

```bash
cd your-hugo-site
git clone https://github.com/nthnbch/hugo-fraktur-theme themes/hugo-fraktur-theme
```

### Method 3: Download

Download the theme from GitHub and extract it to `themes/hugo-fraktur-theme`

## Configuration

Update your `config.toml`:

```toml
theme = "hugo-fraktur-theme"
title = "Your Site Name"

# Disable pagination and taxonomies for clean simplicity
disableKinds = ["taxonomy", "term"]

[params]
  # Display options
  showIntroContentOnHomepage = true
  showPostsOnHomepage = false
  
  # Fonts
  enableGoogleFonts = true 
  googleFontsUrl = "https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=UnifrakturCook:wght@700&display=swap"
  
  # Analytics (optional)
  google_analytics_id = "G-XXXXXXXXXX"
  # plausible_analytics_domain = "yourdomain.com"
```

## Typography Features

- **Fraktur Headings**: H1 headings use UnifrakturCook font
- **Inter Body Text**: H2, H3, and body text use Inter font for readability
- **Bold Post Titles**: Post titles in listings are automatically styled in bold for better hierarchy

## Customization

### Colors

The theme uses CSS custom properties based on Material Design. To customize colors, create `assets/css/extended/custom.css` and override the variables:

```css
:root {
  --primary: #000000;
  --on-primary: #ffffff;
  --surface: #fef7ff;
  --on-surface: #1d1b20;
  --on-surface-variant: #49454f;
  /* Override other variables as needed */
}
```

### Fonts

To use different fonts, update the `googleFontsUrl` parameter in your `config.toml` and override the font family variables in `assets/css/extended/custom.css`:

```css
:root {
  --font-family-heading: 'Your Heading Font', serif;
  --font-family-paragraph: 'Your Body Font', sans-serif;
  --font-family-monospace: 'Your Code Font', monospace;
}
```

## Social Links

Add social links in `data/social.json`:

```json
{
  "links": [
    {
      "name": "GitHub",
      "url": "https://github.com/yourusername"
    },
    {
      "name": "LinkedIn",
      "url": "https://linkedin.com/in/yourusername"
    }
  ]
}
```

## License

MIT License - See [LICENSE](LICENSE) file for details

## Credits

Created by [Nathan Buache](https://nathan.swiss) - [GitHub](https://github.com/nthnbch)
反馈内容错误

看看同类模板

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