A Hugo theme NexT.Gemini forked from a Hugo theme NexT forked from a Hexo theme NexT.
NexT is a simple and animated theme. I transplanted it from Hexo to Hugo and used in my blog site.
Now I am working to transplant it to Next.Gemini scheme.
-
clone this repo.
-
copy the cloned
hugo-theme-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 by
hugo new post/xxx.md
some markdown files in directory(content/post). -
start hugo server in the site root directory:
hugo server
. -
open the url in browser.
-
Some Hexo's styles do not work now because of the differences between the Hugo template engine and the Hexo. (I will NOT update it constantly.)
-
This theme has been tested only in my blog site. Maybe it's not suitable for your requirements, you can customize it by your preferences.
-
Tested in Hugo version: 0.55
-
If you have any questions, please start an issue. (I will attend to them only if I have enough time.)
-
each markdown file starts with something like this (you can edit them in
archetypes/default.md
):--- title: "xxxxxxx" date: "2018-06-02" categories: ["Tech"] tags: ["Rust", "Programing"] toc: true ---
-
add
<!--more-->
tag in your markdown for manual summary splitting (, otherwise the index page looks weird.)
- Sidebar menu
- Sidebar links
- Auto toc display
- Support i18n
- Local Search
- Syntax Highlighter (thanks to xulz)
- LaTeX support
The above work was done when I forked it.
- Fix the search function when baseUrl has subdomain. To get adapted on other sites, you need to modify the
static/js/search.js
. See the commit history. - Modification to Next.Gemini:
- TOC in page
- Capital URL path in
tags
andcategories
- Exact copy of NexT.Gemini (Not finished yet. Close enough for me.)
The MIT License.