/hugo-lithium-theme

A simple responsive blog theme for Hugo.

Primary LanguageHTMLMIT LicenseMIT

Hugo Lithium

A simple responsive blog theme for Hugo.

Hugo Lithium Theme Screenshot

Features

  • Blog
  • Search template
  • Responsive
  • Disqus
  • Google Analytics
  • Tags and Categories
  • Featured Image
  • Twitter Cards
  • Open Graph metadata
  • Archive template
  • Dark mode

Installation

Run the following inside your Hugo site folder:

$ mkdir themes
$ cd themes
$ git clone https://github.com/janikvonrotz/hugo-lithium-theme

Configuration

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

Search

Checkout this blogs post for details: Janik von Rotz - Simple Hugo page search with Lunr.js

By default this template will create a JSON document of all posts. If you define a search page using this search page template you will get a site wide search based on lunr.js.

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.

License

The code is available under the MIT license.