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.
Thanks for xtfly, I had cloned his NetxT theme and modify by my own custom style.
- Online Visit
- Local Visit
First use your console then into exampleSite directory, Second start site running to use hugo server --noHTTPCache --t ../..
command, Last look style with open browser: http://localhost:1313/
Note: Maybe there plugins couldn't running without the paramters change the value.
-
download theme file:
git clone git@github.com:elkan1788/hugo-theme-next.git next
-
copy
next
directory tothemes
directory in your hugo site -
move
exampleSite\config
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), refere the struct and content in directory(exampleSite\content)
Maybe you can copy the
exampleSite\content
to your site
-
start hugo server in root directory:
hugo server --noHTTPCache
-
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.74.2+
-
If you have any questions, please give feedback or open issues
-
every markdown start with like this:
--- title: "Hello World" slug: hexo-hello-world date: "2020-09-11" tags: - 测试 - 学习 categories: - Hugo 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
- Beautify for local search style
- Add Valine & LiveRe comment component
- Add article read times
- Add public welfare 404 page
- Add site analytics include baidu, google, cnzz etc
- Create custom about page
- Minimize Javascript & Css & use remote CDN import