Skip to content

xtfly/hugo-theme-next

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NexT For Hugo

A Hugo theme forked from NexT.

Discription

NexT is a simple and animated theme. I transplanted it from Hexo to Hugo and used in my blog site.

Preview online

Usage

  1. download theme file: git clone https://github.com/xtfly/hugo-theme-next.git next

  2. copy next directory to themes directory in your hugo site

  3. move config.toml to the root directory in your hugo site, and modify it to the actual information for your site.

  4. create some markdown files in directory(content/post), like https://github.com/xtfly/xtfly.github.io/tree/hugo/content

  5. start hugo server in root directory: hugo server

  6. open brower: http://localhost:1313/

Notes

  • 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.38

  • If you have any questions, please give feedback

Markdown notes

  1. every markdown start with like this:

    ---
    title: "xxxxxxx"
    date: "2018-06-02"
    categories:
    - "技术"
    tags:
    - "Rust"
    - "Programing"
    toc: true
    ---
    
  2. add <!--more--> tag in your markdown for manual summary splitting .

Todo

  • Sidebar menu
  • Sidebar links
  • Auto toc display
  • Support i18n
  • Local Search
  • Syntax Highlighter (thanks to xulz)

License

The MIT License.

About

This is a hugo theme forked from hexo-theme-next

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published