基于 Hugo 的静态站点主题,可部署到 Neocities 或 GitHub Pages
neofeed-theme — Hugo 作品集模板
作者 victoriadrake
Neofeed 是一个基于 Hugo 的个人时间线主题,面向 IndieWeb,可部署到 Neocities 或 GitHub Pages,支持多种文章类型与 CSS 皮肤。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 2
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
内置自文档化 Makefile,用 make entry 和 make ship 完成发布流程
支持 note、reply 等文章类型,按 category 呈现不同样式
附带多套 CSS 皮肤并支持自动明暗模式,可在 config.toml 中切换
包含 Webmention、microformats2、IndieAuth rel=me 等 IndieWeb 支持
可选 Plausible 统计与 Web Monetization 支付指针配置
模板详细介绍
Neofeed 是一个用 Hugo 构建的个人动态/时间线主题,定位为“个人 feed”,适合发布类似微博客的短内容。它同时提供两种使用方式:作为独立站点直接 fork 仓库使用,或作为 Hugo 主题通过 git submodule 添加到已有站点。主题内置自文档化的 Makefile,提供 make entry 和 make ship 命令来创建条目并部署。
在内容展示上,Neofeed 根据 front matter 中的 category 区分文章类型:note 类型只显示正文,reply 类型会生成指向被回复页面的标题链接。主题附带若干 CSS 皮肤(如 macintosh、minimal、cloudy-day),并支持自动明暗模式,皮肤文件位于 static/skins/,可在 config.toml 中通过 params.skin 切换。
IndieWeb 支持方面,主题包含 Webmention 渲染(需配合 Webmention.io)、Bridgy 转发、microformats2 的 h-card/h-feed/h-entry 标记以及 IndieAuth 的 rel=me 链接。此外还提供可选的 Plausible 统计和 Web Monetization 支付指针配置。
部署方面,仓库包含 GitHub Actions 工作流,可发布到 Neocities 或 GitHub Pages;使用 Neocities 时需要设置 NEOCITIES_API_TOKEN 仓库密钥。使用独立站点模式时,只需 Git 和 Make 即可完成构建与部署,无需额外安装依赖。
适合你的项目吗?
适用场景
- 在 Neocities 上搭建个人时间线,发布短笔记或回复
- 在 GitHub Pages 上托管个人 feed,并通过 GitHub Actions 自动部署
- 作为 Hugo 主题添加到已有站点,为博客增加时间线式内容流
- 通过 CSS 皮肤自定义站点外观,或制作并分享自己的皮肤
- 为个人站点接入 Webmention、Bridgy 等 IndieWeb 互动功能
适合人群
- 希望拥有独立于社交平台个人 feed 的 IndieWeb 实践者
- 使用 Hugo 并需要轻量时间线主题的开发者
- 在 Neocities 或 GitHub Pages 上托管静态个人站点的用户
- 想通过 CSS 皮肤快速改变站点风格的前端学习者
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
独立站点模式:fork 仓库后克隆,编辑 config.toml,使用 make entry 和 make ship 发布
- 2
使用 Neocities 部署需在仓库设置 NEOCITIES_API_TOKEN 密钥
- 3
作为 Hugo 主题使用时,通过 git submodule add 添加主题,并复制 exampleSite 的 config.toml
- 4
部署到 GitHub Pages 需将发布源配置为 docs/ 目录
- 5
本地预览或修改主题需安装 Hugo,可通过 make gethugo 安装
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 BSD-2-Clause 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用以及源代码或二进制形式的分发。
- 源代码分发需保留版权声明、两项条件和免责声明;二进制分发需在文档或随附材料中重现这些内容。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 部署到 Neocities 需要注册 Neocities 账户并获取 API 密钥,且需将其设置为仓库密钥 NEOCITIES_API_TOKEN 才能自动发布。
- 可选的 Plausible 站点统计属于第三方外部服务,需自行注册 Plausible 账户并可能产生费用,非主题自带功能。
- 可选的 Web Monetization 功能需要自行设置支持 Interledger 协议的钱包并配置支付指针,属于外部服务依赖。
- Webmention 渲染依赖第三方服务 Webmention.io,需另行注册配置才能接收互动。
- 自动转发到社交媒体的 POSSE 功能依赖第三方服务 Bridgy,需自行接入。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 BSD-2-Clause 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Redistribution and use in source and binary forms, with or without modification, are permitted
许可证原文
Get your Neocities API key by going to:
README 原文
You can set up site analytics using [Plausible](https://plausible.io/), a service that respects user privacy
README 原文
You'll need to [set up a wallet](https://webmonetization.org/docs/getting-started) that supports the Interledger Protocol (ILP).
README 原文
Individual posts will render [Webmentions](https://www.w3.org/TR/webmention/) with support via [Webmention.io](https://webmention.io/)
README 原文
https://github.com/victoriadrake/neofeed-theme/blob/master/LICENSEhttps://github.com/victoriadrake/neofeed-theme/blob/master/README.mdYour posts can be automatically shared with other social media thanks to [Bridgy](https://brid.gy/)
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- Hugo Themes
- 资料与维护参考分
- 资料较完整 · 96 / 100
- 技术栈
- Hugo
- 网站类型
- 作品集 · 工具站
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-06-20
- 截图检查日期
- 2026-10-02
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Hugo。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 037fd071cf1dbfa944116d6728a5c13791aa87d0aaf19f4d72f417bcc2eae755
2026-10-02T23:42:32.091Z
来源文件 / 仓库#  Neofeed 
(っ◔◡◔)っ A personal timeline for the IndieWeb that can deploy to Neocities and GitHub Pages.
- Like Twitter but it doesn't suck
- Like Geocities except it exists
✨ Neofeed is a beginner-friendly starter site to learn to use Hugo and generate awesome static websites with continuous delivery. This enriched Hugo theme helps you create a plain HTML static website. You can deploy to Neocities and GitHub Pages with continuous deployment workflows out of the box!
🖌 Use CSS skins to switch it up and make it your own. Feeling brave? All the source code is at your fingertips. Go nuts! 🥜
- [Screenshots](#screenshots)
- [The General Idea](#the-general-idea)
- [Git Started](#git-started)
- [Deploy without Hugo (stand alone site)](#deploy-without-hugo-stand-alone-site)
- [Use as a Hugo theme](#use-as-a-hugo-theme)
- [1. Add this theme](#1-add-this-theme)
- [2. Update your `config` file](#2-update-your-config-file)
- [3. Write and deploy](#3-write-and-deploy)
- [IndieWeb Features](#indieweb-features)
- [Different Post Types](#different-post-types)
- [Learn and Customize with Hugo](#learn-and-customize-with-hugo)
- [Edit or Create a CSS Skin](#edit-or-create-a-css-skin)
- [Totally Optional Cool Stuff](#totally-optional-cool-stuff)
- [Plausible](#plausible)
- [Web Monetization](#web-monetization)
- [Contributing](#contributing)
- [Values](#values)
## Screenshots
With just CSS you can make your Neofeed look like _anything you can imagine._ Here are a few options for you to use, change, or extend right out of the box.
<img width="500" alt="Neofeed with macintosh CSS skin" src="https://raw.githubusercontent.com/victoriadrake/neofeed-theme/master/images/macintosh.png" />
<img width="500" alt="Neofeed with minimal CSS skin" src="https://raw.githubusercontent.com/victoriadrake/neofeed-theme/master/images/minimal.png" />
<img width="500" alt="Neofeed with cloudy-day CSS skin" src="https://raw.githubusercontent.com/victoriadrake/neofeed-theme/master/images/cloudy-day-dark.png" />
## The General Idea
Neofeed is an enriched Hugo theme. It gives you a fun starting point for creating your own personal feed on your own personal website! Customize as little or as much as you want and join the IndieWeb movement.
Starting from scratch? Check out the [Neocities Tutorials](https://neocities.org/tutorials).
You can edit your `config.toml` to customize basic website things, like your site title, your name, and some "about me" text. That's all you need to deploy a great-looking Neofeed.
You can choose from pre-made CSS skins with automatic light and dark modes. Create your own to give your Neofeed personality, or share a CSS skin you made with a pull request to this repository!
Day-to-day, you can deploy your own personal feed updates to your Neocities website as well as GitHub Pages with two commands.
```sh
make entry
# ---
# title: 7c483a16-7931-43d7-9417-80124a06a4fa
# date: 2021-01-03T07:03:33
# categories: ["note"]
# tags:
# ---
# Hello world! Let's take back the timeline.
make ship
```
A special [self-documenting Makefile](https://victoria.dev/blog/how-to-create-a-self-documenting-makefile/) makes this possible. Run `make help` in the repository root to see what you can do.
## Git Started
### Deploy without Hugo (stand alone site)
If you have [Git](https://git-scm.com/) and [Make](https://pubs.opengroup.org/onlinepubs/9699919799/) or [GNU Make](https://www.gnu.org/software/make/), Neofeed can be set up and deployed without installing any additional dependencies.
1. Fork the repository.
2. Get your Neocities API key by going to:
`https://neocities.org/settings/{{your-sitename}}#api_key`
3. Set up your Neocities API key as a [repository secret](https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository) called `NEOCITIES_API_TOKEN`.
Then run:
```sh
git clone https://github.com/<your username>/neofeed-theme.git neofeed
cd neofeed
```
3. Edit the `config.toml` file to name your site and choose options.
4. Create your first entry and ship it!
```sh
make entry
# Write something clever in your $EDITOR
make ship
```
This will build your Neofeed and deploy it to Neocities using the [included GitHub Actions workflow](https://github.com/victoriadrake/neofeed-theme/blob/master/.github/workflows/build.yaml)!
Your site can also be served by Github Pages. Make it so by [configuring the publishing source](https://docs.github.com/en/free-pro-team@latest/github/working-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site) to be your `docs/` directory.
### Use as a Hugo theme
[Hugo](https://gohugo.io/) is a static site generator that helps make it easy to create a website made with plain HTML. See the [quickstart](https://gohugo.io/getting-started/quick-start/) to create your site then follow these three steps.
#### 1. Add this theme
Add this theme to your Hugo site by running this command from the site's main folder:
```sh
cd <whatever you named your site folder>
git submodule add https://github.com/victoriadrake/neofeed-theme.git
```
#### 2. Update your `config` file
Copy the [exampleSite configuration file](https://github.com/victoriadrake/neofeed-theme/blob/master/exampleSite/config.toml) to your site's main folder. Update the settings as you like -- helpful comments are included.
Be sure to replace `example.com` with your own domain throughout the file.
#### 3. Write and deploy
You can use the `make entry` command or manually [add some content](https://gohugo.io/getting-started/quick-start/#step-4-add-some-content).
When you're ready, you can deploy automatically with services like:
- [Neocities](https://neocities.org/), either using the [included workflow](https://github.com/victoriadrake/neofeed-theme/blob/master/.github/workflows/build.yaml) or drag-and-drop upload.
- GitHub Actions can deploy to [GitHub Pages](https://pages.github.com/) using the [included workflow](https://github.com/victoriadrake/neofeed-theme/blob/master/.github/workflows/build.yaml). Just [configure your publishing source](https://docs.github.com/en/free-pro-team@latest/github/working-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site) to be your `docs/` directory.
- Other repository hosting services, like [GitLab Pages](https://docs.gitlab.com/ee/user/project/pages/) can also serve static sites.
## IndieWeb Features
Neofeed supports formats and protocols that encourage independent websites! To learn more about these, the community over at [IndieWebCamp](https://indieweb.org/discuss) is a great place to ask questions.
Here are the features Neofeed currently supports:
- Individual posts will render [Webmentions](https://www.w3.org/TR/webmention/) with support via [Webmention.io](https://webmention.io/)
- Your posts can be automatically shared with other social media thanks to [Bridgy](https://brid.gy/) (see more about Publish (on your) Own Site, Syndicate Elsewhere [(POSSE)](https://indieweb.org/POSSE) on the IndieWebCamp wiki)
- Your feed can be parsed by RSS and feed readers thanks to [h-card](https://microformats.org/wiki/h-card), [h-feed](https://microformats.org/wiki/h-feed), and [h-entry](https://microformats.org/wiki/h-entry) [microformats2](https://microformats.org/wiki/microformats2) markup
- You can log into supported services using [IndieAuth](https://indieweb.org/IndieAuth) [`rel=me` links](https://indieweb.org/rel-me) (they're in the [head](https://github.com/victoriadrake/neofeed-theme/blob/master/layouts/partials/head.html) file)
### Different Post Types
Your posts will be displayed slightly differently depending on the `category` you put in your front matter:
```text
---
title: My Awesome Post
date: 2021-08-05T23:01:26
categories: ["note"] # note, reply, anything else
reply: # If you choose "reply" above, the URL you're replying to
tags:
---
```
- If it's a `note`, just the text will show in your feed, like a tweet or microblog (this takes precedence over other categories)
- A post with category `reply` will display a post title that links to the page you're replying to with proper [reply markup](https://microformats.org/wiki/h-entry)
Check out the example site for... examples! Just do `make demo` to see it.
## Learn and Customize with Hugo
If you wish to edit the theme, create a CSS skin, or preview your timeline locally before deploying it, you'll need the [Hugo static site generator](http://gohugo.io/).
You can install the latest version by running `make gethugo`.
To see available Hugo commands, type `hugo --help`. [Hugo's searchable documentation](https://gohugo.io/documentation/) is also excellent. I recommend familiarizing yourself with Hugo's concepts using the [Quickstart](https://gohugo.io/getting-started/quick-start/).
### Edit or Create a CSS Skin
Look in `static/skins/` to find the CSS files that give Neofeed personality. Choose one or create your own and configure your Neofeed to use it in `config.toml`:
```toml
[params]
skin = "macintosh"
```
Consider this your CSS playground! You can preview changes in your browser with [live reload](https://gohugo.io/getting-started/usage/#livereload) by running Hugo's local server with `hugo server`. See the Hugo docs for [more server options](https://gohugo.io/commands/hugo_server/).
If you create a CSS skin you'd like to share, please consider sending a pull request to add it to this repository!
### Totally Optional Cool Stuff
Neofeed has out-of-the-box support for these features.
#### Plausible
You can set up site analytics using [Plausible](https://plausible.io/), a service that respects user privacy while still letting you see your site traffic and sources.
Once you've set up your Plausible account, just turn it on in your `config.toml`. Neofeed will use your site's URL automatically.
```toml
[params]
plausible = true
```
#### Web Monetization
[Web Monetization](https://webmonetization.org/) is a proposed standard that can let you receive micropayments when visitors browse your site. You'll need to [set up a wallet](https://webmonetization.org/docs/getting-started) that supports the Interledger Protocol (ILP).
Add your wallet's payment pointer to your `config.toml`, for example:
```toml
[params]
paymentPointer = "$wallet.provider.com/myspecialid123"
```
## Contributing
You are absolutely encouraged to contribute to this friendly open source project!
### Values
As a project, Neofeed has these main goals:
1. Make it easy for people to ship a fun and useful website.
2. Make it easy to participate in Neocities to encourage the creation of personal static sites.
3. Demonstrate excellent open source community practices and repository maintenance practices.
Any contribution that works towards these goals is welcome. See [CONTRIBUTING.md](https://github.com/victoriadrake/neofeed-theme/blob/master/.github/CONTRIBUTING.md) for details.
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

hugo-PaperMod
PaperMod 是 Hugo 生态里知名度较高的主题之一,定位很明确:给博客和轻量作品集站点提供一套干净、响应式的阅读界面。
Hugo · 作品集

hugo-coder
A minimalist blog theme for hugo.
Hugo · 博客

doks
Doks 是 Thulite 生态下的文档主题,底层是 Hugo 静态站点生成器。 它把重点放在长文阅读体验上:极简且响应式的布局、为文档优化的排版,以及代码块语法高亮,整体更接近技术手册的形态,而不是通用营销页模板。
Hugo · 工具站

Congo
Congo 是一款为 Hugo 设计的现代内容主题,核心定位是让内容本身成为页面焦点。 它基于 Tailwind CSS 3.0 构建,整体布局完全响应式,视觉风格干净且克制,没有多余装饰。
Hugo · 博客

toha
Toha 是一款面向个人作品集场景的 Hugo 主题,以极简设计和响应式布局为核心,适合用来搭建个人主页、作品展示或技术博客。
Hugo · 作品集

hugo-profile
A highly customizable and mobile first Hugo template for personal portfolio and blog.
Hugo · 作品集
