Skip to content

fox-forks/hugo-natrium-theme

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/hyperupcall/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

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 70.7%
  • HTML 29.3%