2024-04-01 20:18:38 +00:00
+++
title = "halve-z"
description = "Retro two-column theme"
template = "theme.html"
2024-06-24 07:15:25 +00:00
date = 2024-06-24T05:58:05Z
2024-04-01 20:18:38 +00:00
[extra]
2024-06-24 07:15:25 +00:00
created = 2024-06-24T05:58:05Z
updated = 2024-06-24T05:58:05Z
2024-05-07 21:29:59 +00:00
repository = "https://github.com/charlesrocket/halve-z.git"
2024-04-01 20:18:38 +00:00
homepage = "https://github.com/charlesrocket/halvez"
minimum_version = "0.18.0"
license = "MIT"
demo = "https://halve-z.netlify.app/"
[extra.author]
name = "-k"
homepage = "https://failsafe.monster/"
+++
2024-05-07 21:29:59 +00:00
# `halve-z`
2024-04-01 20:18:38 +00:00
[![Netlify Status ](https://api.netlify.com/api/v1/badges/352a12ed-cdba-4545-9256-9fb698f5a94f/deploy-status?branch=trunk )](https://app.netlify.com/sites/halve-z/deploys)
A two-column theme for **Zola** .
2024-05-07 21:29:59 +00:00
![logo ](https://raw.githubusercontent.com/charlesrocket/halve-z/trunk/static/favicon-32x32.png )
2024-04-01 20:18:38 +00:00
## Features
2024-05-07 21:29:59 +00:00
This is a _retro_ port of [Halve ](https://github.com/TaylanTatli/Halve ) (**Jekyll**). It features:
2024-04-01 20:18:38 +00:00
2024-05-07 21:29:59 +00:00
* search
2024-04-01 20:18:38 +00:00
* taxonomies
2024-05-07 21:29:59 +00:00
* PWA (dynamic cache/offline mode)
2024-04-01 20:18:38 +00:00
* auto color schemes
* ToC
2024-05-07 21:29:59 +00:00
* pagination
2024-04-01 20:18:38 +00:00
* media shortcodes
* SEO
* CSP
* project cards
2024-05-07 21:29:59 +00:00
* comments ([Cactus](https://gitlab.com/cactus-comments/)/[Giscus](https://github.com/giscus/giscus))
2024-04-01 20:18:38 +00:00
* read time
## Installation
Add theme submodule using `git` :
```sh
git submodule add https://github.com/charlesrocket/halve-z themes/halve-z
```
2024-05-07 21:29:59 +00:00
### Updates
Use the following command to update theme to the latest version:
```
git submodule update --recursive --remote
```
2024-04-01 20:18:38 +00:00
## Configuration
2024-05-07 21:29:59 +00:00
1. Copy theme's [config.toml ](https://github.com/charlesrocket/halve-z/blob/trunk/config.toml ) into your project's root directory. Set variables as required and add `theme = "halve-z"` at the **top** of the config file.
2024-04-01 20:18:38 +00:00
2. Copy the content to get started:
```
cp -R -f themes/halve-z/content/ content/
```
## Usage
See demo [posts ](https://halve-z.netlify.app/posts/ ).