https://github.com/phx/hugo-theme-nix
https://github.com/phx/hugo-theme-nix
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/phx/hugo-theme-nix
- Owner: phx
- License: mit
- Created: 2017-02-27T19:15:47.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-03T00:51:32.000Z (over 9 years ago)
- Last Synced: 2025-01-29T10:33:57.424Z (over 1 year ago)
- Language: HTML
- Size: 614 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Nix
Nix is a simple, minimal theme for Hugo

## Usage
Clone the repository to your hugo theme directory
```
mkdir themes
cd themes
git clone https://github.com/LordMathis/hugo-theme-nix
```
## Configuration
Add these parameters to your `config.toml`:
```
[params]
GithubID = "your_github"
GitlabId = "your_gitlab"
TwitterID = "your_twitter"
LinkedInID = "your_linkedin"
GoogleplusID = "your_googleplus"
FacebookID = "your_facebook"
Name = "your_name"
HeaderUsername = "username"
HeaderHostname = "hostname"
Email = "your_email"
About = "info_about_you"
ProfilePicture = "profile_picture_url"
GoogleAnalytics = "your_google_analytics_id"
```
Edit them as needed. If you don't want one of the social networks or Google Analytics simply delete that line. `HeaderUsername` and `HeaderHostname` will be displayed in navbar on left side in the format: `HeaderUsername@HeaderHostname ~ $`
To add a menu item add `[[menu.header]]` item to `config.toml`. For example:
```
[menu]
[[menu.header]]
name = "posts"
weight = 0
url = "/posts"
```
To enable disqus comments add `disqusShortname` to your `config.toml`.
You can turn off disqus comments per page by adding `nocomments = true` to the front matter.
## License
Nix is licensed under the [MIT License](LICENSE.md)