docs/content/themes/solar-theme-zola/index.md
+++ title = "solar-theme-zola" description = "A port of solar-theme-hugo for zola" template = "theme.html" date = 2023-03-20T15:48:51+08:00
[taxonomies] theme-tags = []
[extra] created = 2023-03-20T15:48:51+08:00 updated = 2023-03-20T15:48:51+08:00 repository = "https://github.com/hulufei/solar-theme-zola.git" homepage = "https://github.com/hulufei/solar-theme-zola" minimum_version = "0.4.0" license = "MIT" demo = "https://zola-themes-demos.github.io/solar/"
[extra.author] name = "hulufei" homepage = "https://github.com/hulufei" +++
Port of Solar theme for Hugo to Zola.
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"
Set color scheme to (Solarized) dark or (Solarized) light with highlight_theme option:
highlight_theme = "solarized-dark"
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.