A Hugo theme port from NexT.
NexT is a simple and animated theme. I port it from Hexo to Hugo and used in my blog site.
-
download theme file:
git clone https://github.com/xtfly/hugo-theme-next.git next
-
copy
next
directory tothemes
directory in your hugo site -
move
config.toml
to the root directory in your hugo site, and modify it to the actual information for your site. -
create some markdown files in directory(content/post), like https://github.com/xtfly/xtfly.github.io/tree/hugo/content
-
start hugo server in root directory:
hugo server
-
open brower: http://localhost:1313/
-
Some of the Hexo's styles are not work now because of the difference between the Hugo template engine and the Hexo. I will update it constantly
-
This theme has been tested only in my blog site. Maybe it's not suitable for your requirements, you can customizate it by your preferences.
-
Test in Hugo verion: 0.55
-
If you have any questions, please give feedback
-
every markdown start with like this:
--- title: "xxxxxxx" date: "2018-06-02" categories: - "技术" tags: - "Rust" - "Programing" toc: true ---
-
add
<!--more-->
tag in your markdown for manual summary splitting .
- Sidebar menu
- Sidebar links
- Auto toc display
- Support i18n
- Local Search
- Syntax Highlighter (thanks to xulz)
- Support Latex
The MIT License.