Natrium - A simple responsive Hugo theme
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 242 commits ahead, 7 commits behind jrutheiser:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
archetypes
exampleSite
i18n
images
layouts
static
.editorconfig
LICENSE.md
README.md
theme.toml

README.md

Hugo Natrium

A simple responsive blog theme for Hugo based on Lithium

Changes

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...

History

I learned a lot while playing with the code from Lithium. I'm an absolute beginner. Please report any issues you recognize.

Features

  • Blog
  • Responsive
  • Privacy (no Google)
  • Taxonomies
  • Syntax highlighting
  • Pagination

Installation

Run the following inside your Hugo site folder:

$ mkdir themes
$ cd themes
$ git clone https://github.com/mobybit/hugo-natrium-theme

Configuration

Take a look at the sample config.toml file located in the exampleSite folder.

Content Types

Post

Used for blog posts. Blog posts are listed on the homepage.

Run hugo new post/<post-name>.md to create a post.

Page

Used for site pages.

Run hugo new page/<page-name>.md to create a page.

Syntax highlighting

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.

License

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).