Hugo博客

scidraft — Hugo 博客模板

作者 mengyaozhu

SciDraft 是一个基于 Hugo 的学术写作主题,在 PaperMod 基础上扩展,支持 KaTeX 公式、BibTeX 引用、Mermaid 图表与条目索引,适合研究笔记与论文式长文。

看看你的网站会是什么样

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

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

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

全部页面与视图 2

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

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

值得关注的模板亮点

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

01

在 hugo-PaperMod 基础上扩展,面向科研写作与学术发布

02

支持 KaTeX 数学公式、BibTeX 引用与 Mermaid 图表

03

提供伪算法与表格的专门呈现样式

04

内置 A–Z 与分类条目索引,便于组织相关条目

05

包含搜索、目录、面包屑、阅读时长、字数统计与深浅色模式

模板详细介绍

SciDraft 是面向科研写作与学术发布的 Hugo 主题,上游为 hugo-PaperMod,并针对科学写作做了大量扩展与定制。它用同一套 Markdown 内容流程承载短研究笔记与长篇论文式文章,并提供数学公式、引用、图表等学术写作常见元素的支持。

在内容呈现上,主题支持 KaTeX 渲染的数学表达式、基于 BibTeX 的引用、Mermaid 图表,以及伪算法与表格的专门样式。它还提供 A–Z 与按分类组织的条目索引,便于整理成组的相关条目,并带有搜索界面用于浏览已发布内容。阅读体验方面包含响应式布局、目录、面包屑、阅读时长与字数统计,以及相关文章、文章导航、RSS 和分享功能,外观支持浅色与深色模式。

使用限制方面,主题要求 Hugo v0.158.0 或更高版本,安装需要 Git。数学渲染、搜索等功能依赖站点配置,README 明确提示应参考 exampleSite/hugo.toml 复制所需设置,而不是假定演示配置会被自动继承。内容应放在自己站点的 content/ 目录,而非主题的 exampleSite/。更新通过 git pull 拉取,若已自定义主题文件或覆盖模板,需先审查上游变更。

Hugo博客

适合你的项目吗?

适用场景

  • 撰写含公式、引用与图表的研究笔记或长文
  • 为论文、预印本或技术文章建立可检索的发布站点
  • 按字母或分类整理成组的研究条目索引
  • 需要 RSS、分享与相关文章等阅读与发现功能的学术博客

适合人群

  • 使用 Hugo 并需要数学与引用支持的科研写作者
  • 希望用 Markdown 统一管理笔记与长文的作者
  • 需要条目索引与搜索来组织大量学术内容的站点

上手与定制指南

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

  1. 1

    需要 Hugo v0.158.0 或更高版本,并安装 Git

  2. 2

    将仓库克隆到站点 themes/scidraft,并在 hugo.toml 中设置 theme = "scidraft"

  3. 3

    数学渲染与搜索等功能依赖站点配置,请参考 exampleSite/hugo.toml 复制所需设置

  4. 4

    内容放在自己站点的 content/ 目录,不要写入主题的 exampleSite/

  5. 5

    通过 git pull 更新主题,更新前先审查上游变更,尤其是已自定义模板的情况

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
  • 使用该主题需要 Hugo v0.158.0 或更高版本,低于此版本无法正常使用。
  • 安装与更新主题需要本地安装 Git 工具。
  • 数学渲染、搜索等功能依赖站点配置,需参考 exampleSite/hugo.toml 手动复制所需设置,不能假定演示配置会自动继承。
  • 内容应放在自己站点的 content/ 目录,而非主题的 exampleSite/ 目录。
  • 更新生产站点前需先审查上游变更,尤其是已自定义主题文件或覆盖模板的情况。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

**Hugo requirement:** v0.158.0 or later

README 原文

- [Git](https://git-scm.com/) for installation and updates

README 原文

**Important:** SciDraft uses configuration for features such as mathematical rendering and search that may need to be defined in your site's configuration. Review `exampleSite/hugo.toml` and copy the settings you need rather than assuming all demo configuration is inherited automatically.

README 原文

Your content belongs to your site—not to the theme's `exampleSite/` directory.

README 原文

Review upstream changes before updating a production site, particularly if you have customized theme files or overridden templates.

README 原文
https://github.com/mengyaozhu/scidraft/blob/main/LICENSEhttps://github.com/mengyaozhu/scidraft/blob/main/README.md

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

项目核对记录与介绍依据

模板资料

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

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

这个项目需要核对什么

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

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

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

查看具体选型方法 →

介绍的制作与核对状态

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

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

查看当时使用的来源资料

SHA-256: 0c8fbf56e96c5d7d8f7bcf73f109b8071e0b66cdbb0e7244ab86199b627f8382

2026-10-10T22:52:08.112Z

来源文件 / 仓库
# SciDraft

**A Hugo theme for scientific writing, research notes, and academic publishing.**

SciDraft combines a clean, responsive reading experience with tools for mathematical and technical writing. Use one Markdown-based content workflow for short research notes, detailed articles, equations, citations, diagrams, and organized collections of related entries.

- **Live demo:** [www.zhumengyao.com/scidraft](https://www.zhumengyao.com/scidraft/)
- **Hugo requirement:** v0.158.0 or later
- **License:** [MIT](LICENSE)
- **Upstream theme:** [hugo-PaperMod](https://github.com/adityatelange/hugo-PaperMod), substantially extended and customized for scientific writing

## Features

- **Scientific writing:** Markdown-based research notes and long-form articles
- **Mathematics:** KaTeX-rendered mathematical expressions
- **References:** BibTeX-based citations
- **Diagrams:** Mermaid diagram support
- **Algorithms and tables:** Specialized presentation for pseudo-algorithms and table styles
- **Research indexes:** A–Z and category-based entry maps for organized collections
- **Search:** Search interface for navigating published content
- **Reading experience:** Responsive layout, table of contents, breadcrumbs, reading time, and word count
- **Navigation and discovery:** Related posts, post navigation, RSS, and sharing features
- **Appearance:** Light and dark modes

See the [live demo](https://www.zhumengyao.com/scidraft/) for examples of these features.

## Requirements

- [Hugo](https://gohugo.io/installation/) **v0.158.0 or later**
- [Git](https://git-scm.com/) for installation and updates

Check your installed Hugo version:

```bash
hugo version
```

## Installation

### 1. Create a Hugo site

If you do not already have a site, create one:

```bash
hugo new site my-research-site
cd my-research-site
```

### 2. Install SciDraft

Clone the theme into your site's `themes` directory:

```bash
mkdir -p themes
git clone https://github.com/mengyaozhu/scidraft.git themes/scidraft
```

### 3. Enable the theme

In your site's `hugo.toml`, set:

```toml
theme = "scidraft"
```

**Important:** SciDraft uses configuration for features such as mathematical rendering and search that may need to be defined in your site's configuration. Review `exampleSite/hugo.toml` and copy the settings you need rather than assuming all demo configuration is inherited automatically.

### 4. Add content and run your site

Create Markdown content in your own site's `content/` directory, then start the development server:

```bash
hugo server
```

Open the local URL printed by Hugo to preview your site.

Your content belongs to your site—not to the theme's `exampleSite/` directory.

## Configuration and examples

SciDraft includes a complete demonstration site in [`exampleSite/`](exampleSite/). Use it as the reference for:

- Theme and site configuration
- Mathematical notation and scientific content
- Citations, diagrams, and specialized content blocks
- Entry indexes and category-based collections
- Menus and other presentation options

Start with [`exampleSite/hugo.toml`](exampleSite/hugo.toml) and the example content before adapting the settings to your own website.

## Updating SciDraft

If you installed the theme by cloning the repository directly, run:

```bash
cd themes/scidraft
git pull
```

Review upstream changes before updating a production site, particularly if you have customized theme files or overridden templates.

## Customization

For maintainability, keep your site's content, configuration, assets, and template overrides in your own Hugo project whenever possible. Avoid modifying the theme directly unless you intend to maintain a customized fork.

## Credits

SciDraft builds on [hugo-PaperMod](https://github.com/adityatelange/hugo-PaperMod) by Aditya Telange, with substantial extensions and customizations for scientific and research-oriented publishing.

## License

SciDraft is distributed under the [MIT License](LICENSE). Review the license file for the applicable terms and notices.
反馈内容错误

看看同类模板

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