Next.jsHugoHTMLReact博客

liva-nextjs — Next.js 博客模板

作者 artabr

Liva 是由 Hugo 主题移植到 Next.js 的极简博客模板,包含关于、文章、分类、联系等预置页面,使用 Bootstrap 与 Biome。

看看你的网站会是什么样

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

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

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

全部页面与视图 2

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

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

值得关注的模板亮点

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

01

由 Hugo 主题移植到 Next.js 的极简博客模板

02

包含关于、文章、文章详情、分类、分类详情、联系等 6 个以上预置页面

03

基于 Bootstrap 5 构建界面

04

使用 MDX 编写博客内容

05

使用 Biome 进行代码格式化与检查,替代 ESLint 和 Prettier

06

代码采用 MIT 许可,可免费使用、修改、商用和分发

模板详细介绍

Liva 最初是 Gethugothemes 为 Hugo 制作的博客主题,本项目由 Art Abramov 将其移植到 Next.js,保留极简、干净的设计风格。模板面向个人、旅行、新闻、摄影、科技、美食等博客场景,提供 6 个以上预置页面:关于页、文章列表页、文章详情页、分类列表页、分类详情页和联系页。技术栈为 Next.js、React、TypeScript、Bootstrap 5 与 MDX,并使用 Biome 替代 ESLint 和 Prettier 进行格式化与代码检查。

本地开发通过 npm、yarn 或 pnpm 运行 dev 脚本,默认在 3000 端口预览;页面入口为 app/page.tsx,编辑后自动更新。项目使用 next/font 加载 Inter 字体。

代码以 MIT 许可发布,可免费使用、修改、商用和分发,但需保留版权与许可声明。演示图片仅用于展示,其版权不属于项目,需自行核对;域名、托管等外部服务可能产生额外费用。

Next.jsHugoHTML博客

适合你的项目吗?

适用场景

  • 搭建个人博客或作品集站点
  • 创建旅行、摄影、美食、科技等垂直内容博客
  • 需要文章分类与联系表单的静态内容站点
  • 将现有 Hugo 博客迁移到 Next.js 技术栈

适合人群

  • 熟悉 Next.js 与 React 的前端开发者
  • 希望快速启动极简博客的个人创作者
  • 需要可自由修改和商用模板的开发者
  • 偏好 Bootstrap 与 MDX 内容工作流的团队

上手与定制指南

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

  1. 1

    使用 npm run dev、yarn dev 或 pnpm dev 启动本地开发服务器,默认访问 http://localhost:3000

  2. 2

    页面入口位于 app/page.tsx,修改后自动热更新

  3. 3

    项目使用 Biome 进行格式化与检查,可运行 npx @biomejs/biome init 初始化配置

  4. 4

    演示图片仅用于展示,商用前需自行确认并替换为拥有授权的素材

  5. 5

    使用 next/font 加载 Inter 字体,字体资源来自 Google Fonts

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
  • 演示图片仅用于展示,各自有其许可,项目方无权分享这些图片;因此不能将模板中的图片视为可自由使用的素材,商用或发布前必须自行替换为拥有合法授权的图片。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

**Image license:** The images are only for demonstration purposes. They have their licenses. We don't have permission to share those images.

README 原文
https://github.com/artabr/liva-nextjs/blob/master/LICENSEhttps://github.com/artabr/liva-nextjs/blob/master/README.md

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

项目核对记录与介绍依据

模板资料

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

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

这个项目需要核对什么

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

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

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

查看具体选型方法 →

介绍的制作与核对状态

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

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

查看当时使用的来源资料

SHA-256: 34217ffa722f224739d4bab9e7f949fd7372e25a05fc0309b3aa1d479cd6fe97

2026-10-11T20:20:20.251Z

来源文件 / 仓库
<h1 align=center>Liva for Next.js</h1>

<h2 align="center">Next.js 14, React 18, TypeScript 5, Biome, Bootstrap 5, MDX blog template</h2>

<hr />

<p align=center>Liva is a modern and fully customizable minimal blog theme that will help you create any kind of website whether that's personal, travel, news, photography, tech, food, or other niches. </p>

<h2 align="center"> <a target="_blank" href="https://liva-nextjs.vercel.app/" rel="nofollow">👀Demo</a> | <a  target="_blank" href="https://pagespeed.web.dev/analysis/https-liva-nextjs-vercel-app/z92dano7nx?form_factor=mobile">Page Speed (Mobile)</a>
</h2>

<p align=center>
  <img src="https://img.shields.io/static/v1?label=Next.js&message=14.2.18&color=0070f3&logo=next.js" alt="Next.js 14.2.18" />

  <img src="https://img.shields.io/static/v1?label=React&message=18.2.0&color=148eca&logo=react" alt="React 18.2.0" />

  <img src="https://img.shields.io/github/license/artabr/liva-nextjs" alt="license" />
</p>


<p align="center">
  <img src="https://user-images.githubusercontent.com/37659754/67829978-3984f800-fb03-11e9-82d2-a38490c6ceaf.gif" width="100%" alt="Liva Blog template by themefisher">
</p>


## Overview

Originally Liva was created as a blog template for Hugo by [Gethugothemes](https://gethugothemes.com).

I loved its minimal, clean, and modern design and decided to port it to the [Next.js](https://nextjs.org/) to make it more accessible to the community.

It is a simple yet powerful template that is easy to use and customize.


## 🔑Key Features
- [x] 📄 6+ Pre-Designed Pages
- [x] 🅱️ Bootstrap Based
- [x] ✉️ Contact form support
- [x] 🚀 Google Page Speed optimized
- [x] 👮‍♂️ Biome for formatting and linting

## 📄6+ Pre-Designed Pages

- [x] ℹ️ About Page
- [x] 📄 Post Page
- [x] 📝 Post Single Page
- [x] 🗂️ Categories Page
- [x] 📄 Categories Single Page
- [x] 📞 Contact Page


## Removal of Eslint and Prettier

This project uses [Biome](https://biomejs.dev) for formatting and linting.

I found out that Biome gives the same functionality as Eslint and Prettier but in a more modern and efficient way.

It's faster and easier to use - you don't need to configure anything, just run `npx @biomejs/biome init` and you're good to go.

Eslint and Prettier with their configuration files and plugins on this project provided the same functionality as Biome does out of the box.

I completely removed Eslint and Prettier from the project and plan to use Biome in the future for all my projects.


## 🔧Local development

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.

<!-- reporting issue -->
## 🐞Reporting Issues

We use GitHub Issues as the official bug tracker for the liva Template. Please Search [existing
issues](https://github.com/artabr/liva-nextjs/issues). Someone may have already reported the same problem.
If your problem or idea has not been addressed yet, feel free to [open a new
issue](https://github.com/artabr/liva-nextjs/issues).

<!-- licence -->
## 📄License

Copyright &copy; Designed by [Themefisher](https://themefisher.com) & Developed by
[Gethugothemes](https://gethugothemes.com)

Ported to Next.js by [Art Abramov](https://github.com/artabr)

**Code License:** Released under the [MIT](https://github.com/artabr/liva-nextjs/blob/master/LICENSE) license.

**Image license:** The images are only for demonstration purposes. They have their licenses. We don't have permission to
share those images.

<!-- resources -->
## 🙏Special Thanks

- [Bootstrap](https://getbootstrap.com)
- [Themify Icons](https://themify.me/themify-icons)
- [Google Fonts](https://fonts.google.com/)
- [All Contributors](https://github.com/artabr/liva-nextjs/graphs/contributors)
反馈内容错误

看看同类模板

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