2022-10-02 11:11:37 +08:00
[中文 ](https://github.com/hugo-next/hugo-theme-next/blob/main/README.zh.md ) | [English ](# )
2022-05-21 17:47:26 +08:00
2022-07-03 10:41:28 +08:00
< a title = "Hugo NexT Website" href = "https://preview.hugo-next.eu.org" >
2022-07-03 22:00:25 +08:00
< img align = "right" alt = "NexT logo" width = "266" src = "https://lisenhui.gitee.io/imgs/hugo-next/logo/hugo-next-primary.png" >
2022-07-03 10:41:28 +08:00
< / a >
2022-05-21 17:47:26 +08:00
2022-07-03 10:41:28 +08:00
## Hugo NexT
2022-05-21 17:47:26 +08:00
2022-07-03 10:41:28 +08:00
«Hugo NexT» is a high quality elegant [Hugo ](https://gohugo.io ) theme. Migrate it from `Hexo` engine themes which name is [`NexT` ](https://github.com/next-theme/hexo-theme-next ), keep all kind page layout designs and 4 different shcemes, start new journey with :heart: and hope you would like it.
2022-05-21 17:47:26 +08:00
2022-07-03 10:41:28 +08:00
> All page designs & configuration compatibility with Hexo NexT, it's very easy migrate your site from Hexo to Hugo and enjoy yourself.
2022-06-16 20:48:22 +08:00
2022-07-04 22:13:01 +08:00
[](https://gitter.im/hugo-next/community) [](https://github.com/gohugoio/hugo/releases/latest) [](https://github.com/hugo-next/hugo-theme-next) [](https://github.com/hugo-next/hugo-theme-next/find/main) [](https://github.com/hugo-next/hugo-theme-next/blob/main/LICENSE)
2022-07-03 10:41:28 +08:00
2022-10-02 11:11:37 +08:00
## 🎨 4 Scheme
2022-07-03 10:41:28 +08:00
* :heart_decoration: Muse
* :six_pointed_star: Mist
* :pisces: Pisces
* :gemini: Gemini (**default**)
2022-10-02 11:11:37 +08:00
## 👀 Live Preview
2022-06-16 20:48:22 +08:00
2022-06-16 20:51:57 +08:00
| Environment | :gemini: (**Default**) | :heart_decoration: | :six_pointed_star: | :pisces: | Status |
| :---: | :---: | :---: | :---: | :---: | :---: |
2022-06-25 16:09:22 +08:00
| Preliminary | [Gemini ](https://preview.hugo-next.eu.org/ ) | [Muse ](https://preview.hugo-next.eu.org/muse/ ) | [Mist ](https://preview.hugo-next.eu.org/mist/ ) | [Pisces ](https://preview.hugo-next.eu.org/pisces/ ) |  |
2022-07-03 10:41:28 +08:00
| Production | [Gemini ](https://hugo-next.eu.org/ ) | [Muse ](https://hugo-next.eu.org/muse/ ) | [Mist ](https://hugo-next.eu.org/mist/ ) | [Pisces ](https://hugo-next.eu.org/pisces/ ) |  |
2022-07-03 22:00:25 +08:00
> - Preliminary: all new feature developments will be previewed as soon as possible.
> - Production: Only the features that are tested stably and meet the requirements will be officially released.
2022-07-03 10:41:28 +08:00
2022-10-02 11:11:37 +08:00
## 👣 Quick Start
2022-07-03 10:41:28 +08:00
2022-10-02 11:11:37 +08:00
Before use `Hugo NexT` theme, please make sure installed `Git` & `Hugo Extened` software in your PC.
### 📰 Use Template
If there your first time build blog site, Recommended use template of `Github` which can easily create your site code. Click & visit this repository: [hugo-theme-next-starter ](https://github.com/hugo-next/hugo-theme-next-starter ), then click the green button which name call `Use this template` upper right corner on the page. Just like below image:

After do that click the green button which name call `Create repository from template` , then will create your site code automatic, and clone it on your PC environment.
### 📐 Direct Reference
If you had a blog site, then use `submodule` to lead into the theme, see below commands:
2022-07-03 10:41:28 +08:00
```shell
$ cd hugo-next-exmaple
2022-07-04 09:27:41 +08:00
$ git submodule add https://github.com/hugo-next/hugo-theme-next.git themes/hugo-theme-next
2022-10-02 11:11:37 +08:00
$ cp themes/hugo-theme-next/exampleSite/config.yaml .
$ mv config.toml config.toml.backup
```
### 💻 Preview on Local
```shell
$ cd hugo-next-exmaple
2022-07-03 10:41:28 +08:00
$ hugo server
```
Done that input adrress http://127.0.0.1:1313/ on browser will see the effect & good luck for you! :tada::tada::tada:
2022-10-02 11:11:37 +08:00
> **Note**
> Don't use `hugo server` command deploy your site and enable internet visit, it just used to preview when you develop on local environment. Recommended use `hugo` command build static files all site, then deploy them into Web server such as `Nginx`.
### 🔄 Upgrade Theme
2022-07-03 22:00:25 +08:00
Execute command as below in your site directory when the theme upgrade.
```shell
$ cd hugo-next-exmaple
$ git submodule update --remote
```
2022-10-02 11:11:37 +08:00
## 📝 New Post
2022-07-03 10:41:28 +08:00
There had ready a new post template for you, It is recommended to use the following Hugo command to quickly create a new post:
```sh
$ hugo new posts/hello-world.md
```
2022-10-02 11:11:37 +08:00
> **Note**
> By defalut `hugo new` command will create new post under `content` root directory, so in here `posts` were you custom subfolder in `content` directory.
2022-07-03 10:41:28 +08:00
2022-07-04 09:27:41 +08:00
All front matter parameters's description in post as below:
2022-07-03 10:41:28 +08:00
```yml
---
title: "{{ replace .Name "-" " " | title }}"
description: "{{ .Name }}"
keywords: "{{replace .Name "-" ","}}"
date: {{ .Date }}
lastmod: {{ .Date }}
categories:
-
tags:
-
-
# Post's origin author name
#author:
# Post's origin link URL
#link:
# Image source link that will use in open graph and twitter card
#imgs:
# Expand content on the home page
#expand: true
# It's means that will redirecting to external links
#extlink:
2022-10-30 21:12:01 +08:00
# Disabled comment plugins in this post
2022-07-03 10:41:28 +08:00
#comment:
# enable: false
2022-10-30 21:12:01 +08:00
# Disable table of content int this post
# Notice: By default will automatic build table of content
# with h2-h4 title in post and without other settings
2022-07-03 10:41:28 +08:00
#toc: false
# Absolute link for visit
#url: "{{ lower .Name }}.html"
# Sticky post set-top in home page and the smaller nubmer will more forward.
#weight: 1
2022-10-02 11:11:37 +08:00
# Support Math Formulas render, options: mathjax, katex
#math: mathjax
# Enable chart render, such as: flow, sequence, classes etc
#mermaid: true
2022-07-03 10:41:28 +08:00
---
```
2022-10-02 11:11:37 +08:00
## 🎉 User's Cases
- [Hugo Docs & Demo ](https://hugo-next.eu.org/ )
- [凡梦星尘空间站 ](https://lisenhui.cn/ )
- [阿哈吉 ](https://a.happy2008.top/ )
- [研究僧 ](https://yuanlucas.com/ )
- [Zero's Record ](https://izeroo.cn/ )
- [More Cases ](https://hugo-next.eu.org/flinks.html )
Hope could submmit your site information in this file [flinks.yaml ](https://github.com/hugo-next/hugo-next-docs/blob/develop/data/flinks.yaml ) end line such as below code sytle when you use `Hugo NexT` theme, thanks.
```yaml
- name: NexT 主题
desc: 保持简单的易用性和强大的功能
avatar: https://hugo-next.eu.org/imgs/hugo_next_avatar.png
link: https://hugo-next.eu.org
```
## 🙋 Feedback
2022-07-03 10:41:28 +08:00
- Join us [GitHub Discussions ](https://github.com/hugo-next/hugo-theme-next/discussions ) or [Gitter ](https://gitter.im/hugo-next/community ) to chat :beers:
- [GitHub Issues ](https://github.com/hugo-next/hugo-theme-next/issues/new?labels=Bug&template=bug-report.md ) submit a new bug :bug:
- [GitHub Feature ](https://github.com/hugo-next/hugo-theme-next/issues/new?labels=Feature+Request&template=feature-request.md ) tell me your ideas :sparkles:
2022-10-02 11:11:37 +08:00
## 👨👩👧👦 Join us
2022-07-03 10:41:28 +08:00
All features development progress and new request in [Hugo NexT V4 Roadmap ](https://github.com/hugo-next/hugo-theme-next/issues/9 ), welcome to join us and compelete it together.
2022-10-02 11:11:37 +08:00
## 📜 License
2022-07-03 10:41:28 +08:00
[MIT License ](LICENSE )
2022-07-04 09:27:41 +08:00
Copyright (c) 2022, hugo-next teams.
2022-07-03 22:00:25 +08:00
2022-10-02 11:11:37 +08:00
## 💖 Thanks
2022-07-03 10:41:28 +08:00
That's my hobby to develop `Hugo NexT` theme, thanks all people who gived the donate, and let we follow it growth up.
2022-10-02 11:11:37 +08:00
List of Donors(Order desc by Date):
2022-07-03 10:41:28 +08:00
| Donation time | Donors | Donation mode | Donation content | Message |
2022-10-02 11:11:37 +08:00
| :-------: | ------ | ------ | ---- | ---- |
| 2022.09.30 | *軒 | wechat pay | ¥66.66 | Hope it could help more people. |
| 2022.09.30 | N*l | wechat pay | ¥20.00 | / |
| 2022.07.09 | *风 | wechat pay | ¥10.00 | / |
| 2022.05.08 | *泉 | wechat pay | ¥6.60 | Good luck with next develop. |
| 2022.02.28 | *娇 | wechat pay | ¥5.00 | / |
| 2021.12.21 | z*y | wechat pay | ¥18.88 | / |