A simple responsive blog theme for Hugo.
- Blog
- Search template
- Responsive
- Disqus
- Google Analytics
- Tags and Categories
- Featured Image
- Twitter Cards
- Open Graph metadata
- Archive template
- Dark mode
Run the following inside your Hugo site folder:
$ mkdir themes
$ cd themes
$ git clone https://github.com/janikvonrotz/hugo-lithium-theme
Take a look at the sample config.toml file located in the exampleSite folder.
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.
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.
The code is available under the MIT license.