An open API service indexing awesome lists of open source software.

https://github.com/hulufei/solar-theme-zola

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

theme zola

Last synced: 9 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# Solar Theme for Zola

Port of [Solar theme for Hugo](https://github.com/bake/solar-theme-hugo) to Zola.

![screenshot](./screenshot.png)

## Installation

First download this theme to your `themes` directory:

```bash
$ cd themes
$ git clone https://github.com/hulufei/solar-theme-zola.git
```
and then enable it in your `config.toml`:

```toml
theme = "solar-theme-zola"
```

Add `title` and `description`:

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

## Options

### Color schemes

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

```toml
highlight_theme = "solarized-dark"
```

### Sidebar menu

Set a field in `extra` with a key of `site_menus`:

```toml
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`.