joeshaw / hugo-natrium-theme

Natrium - A simple responsive Hugo theme

Home Page:https://blog.mobybit.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Natrium - A simple responsive Hugo theme

https://blog.mobybit.de

License:MIT License


Languages

Language:CSS 59.7%Language:HTML 40.3%