Skip to content

A minimalistic theme for Hugo blogs. Support code highlight, tags, categories, auto reading time

License

Notifications You must be signed in to change notification settings

LunziQwQ/solar-theme-hugo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solar Theme for Hugo

A minimalistic theme for Hugo blogs, fork of Solar Theme for Hugo.

Color schemes

Solar offers three color schemes:

  • (Solarized) light
  • (Solarized) dark
  • (Solarized) gray

Additionally there is a preference setting which switches between light and dark according to the users preference. example config.toml for a starting point.

Code Highlight

on the base. add code highlight with highlight.js and choose a style which most cool here.

Show post's Tags, Categories, Reading time

Show Reading time when more than 1 minutes (Auto compute from content length, 220 words/mins).

Show Tags, Categories when you add those info on post header

---
title: "Demo"
date: 2021-08-31T06:00:00+08:00
categories: ["Themes"]
tags: [":)"]
---

Installation

Same as with any other theme:

$ git clone https://github.com/LunziQwQ/solar-theme-hugo themes/solar-theme-hugo
$ hugo server --theme solar-theme-hugo

License

GPLv2 or higher

About

A minimalistic theme for Hugo blogs. Support code highlight, tags, categories, auto reading time

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SCSS 71.1%
  • HTML 28.9%