hulufei / solar-theme-zola

Port of https://github.com/bake/solar-theme-hugo to Zola.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solar Theme for Zola

Port of Solar theme for Hugo to Zola.

screenshot

Installation

First download this theme to your themes directory:

$ cd themes
$ git clone https://github.com/hulufei/solar-theme-zola.git

and then enable it in your config.toml:

theme = "solar-theme-zola"

Add title and description:

title = "Your Blog Title"
description = "Your blog description"

Options

Color schemes

Set color scheme to (Solarized) dark or (Solarized) light with highlight_theme option:

highlight_theme = "solarized-dark"

Sidebar menu

Set a field in extra with a key of site_menus:

site_menus = [
  { url = "https://github.com/hulufei/solar-theme-zola", name = "Repository" },
  { url = "rss.xml", name = "RSS" },
]

Each link needs to have a url and a name.

About

Port of https://github.com/bake/solar-theme-hugo to Zola.

License:GNU General Public License v3.0


Languages

Language:SCSS 72.0%Language:HTML 28.0%