A simple responsive blog theme for Hugo based on Lithium
Natrium includes: taxonomies (categories, tags), static footer, new fonts (Roboto Mono, Font Awesome), local fonts, syntax highlighting, better support for code, img and RSS, pagination, multiple design optimizations, i18n, 404.html...
I learned a lot while playing with the code from Lithium. I'm an absolutly beginner. Please report any issue you recognize.
- Blog
- Responsive
- Privacy (no Google)
- Taxonomies
- Syntax highlighting
- Pagination
Run the following inside your Hugo site folder:
$ mkdir themes
$ cd themes
$ git clone https://github.com/mobybit/hugo-natrium-theme
Take a look at the sample config.toml file located in the exampleSite folder.
Used for blog posts. Blog posts are listed on the homepage.
Run hugo new post/<post-name>.md
to create a post.
Used for site pages.
Run hugo new page/<page-name>.md
to create a page.
Natrium is using Chroma and pygmentsStyle = "native"
by default. If you would like to use another style you have to adjust the colors in pre
in main.css.
The code is available under the MIT License.
Natrium is using Font Awesome by Dave Gandy (SIL OFL 1.1). Realated files (CSS, LESS, SCSS) are licensed under the MIT License.
Other used fonts are Merriweather by Sorkin Type (Copyright © 2016 The Merriweather Project, SIL OFL 1.1), Lato by Łukasz Dziedzic (Copyright © 2010-2014 by tyPoland Lukasz Dziedzic, SIL OFL 1.1) and Roboto Mono by Christian Robertson (Copyright © 2015 Google Inc., Apache License 2.0).
Special thanks to Artem Sidorenko (tag cloud).
The content of the example site is generated with Metamorphosum (Copyright © 2014 Kyle Stetz, MIT License).