xtfly / hugo-theme-next

This is a hugo theme forked from hexo-theme-next
MIT License
150 stars 49 forks source link
hexo hugo-site hugo-theme theme

NexT For Hugo

A Hugo theme port from NexT.

Discription

NexT is a simple and animated theme. I port 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

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

License

The MIT License.