Nix is a simple, minimal theme for Hugo
NixNix is a simple and minimal theme designed for Hugo, a static site generator. It offers a clean and modern design, with customizable options for adding personal information and social media links. NixNix is easy to install and configure, making it a great choice for those looking for a straightforward theme for their Hugo-based website.
To install NixNix theme for Hugo, follow the steps below:
Clone the NixNix repository into your Hugo theme directory:
git clone [repository_url] [your_hugo_theme_directory]/nixnix
Add the following parameters to your config.toml file:
[params]
HeaderUsername = "YourUsername"
HeaderHostname = "YourHostname"
Optionally, you can add links to your social media profiles by adding the following parameters to the [params] section:
[params]
SocialNetworks = [
{name = "Twitter", link = "https://twitter.com/your_username"},
{name = "GitHub", link = "https://github.com/your_username"}
]
To add a menu item, add the following code to your config.toml file:
[[menu.header]]
identifier = "home"
name = "Home"
weight = 1
url = "/"
To add a submenu item, add the following code to your config.toml file:
[[menu.header]]
identifier = "about"
name = "About"
weight = 2
url = "/about"
parent = "home"
To enable Disqus comments, add the disqusShortname parameter to your config.toml file:
[params]
disqusShortname = "your_disqus_shortname"
You can turn off Disqus comments on a specific page by adding nocomments = true to the front matter of that page.
NixNix is a simple and minimal theme designed for Hugo, offering a clean and modern design. It provides various customization options, such as adding personal information, social media links, and menu/submenu items. NixNix supports Disqus comments and is easy to install and configure. It is licensed under the MIT License, allowing users to modify and customize the theme to suit their needs.