zola/docs/content/themes/zola-paper/index.md
Vincent Prouillet 14ccd898ba
Update themes gallery (#1737)
Co-authored-by: GitHub Action <action@github.com>
2022-01-18 10:56:30 +01:00

2.3 KiB

+++ title = "zola-paper" description = "A clean theme inspired from hugo-paper." template = "theme.html" date = 2022-01-17T03:13:30+08:00

[extra] created = 2022-01-17T03:13:30+08:00 updated = 2022-01-17T03:13:30+08:00 repository = "https://github.com/schoenenberg/zola-paper.git" homepage = "https://github.com/schoenenberg/zola-paper" minimum_version = "0.11.0" license = "MIT" demo = "https://schoenenberg.github.io/zola-paper"

[extra.author] name = "Maximilian Schoenenberg" homepage = "https://schoenenberg.dev" +++

Zola-Paper

A clean theme inspired from hugo-paper.

Zola port of Hugo-Paper (with a few tweaks).

Demo: https://schoenenberg.github.com/zola-paper

Screenshot Dark Mode Screenshot

Installation

The easiest way to install this theme is to either clone it ...

git clone https://github.com/schoenenberg/zola-paper.git themes/zola-paper

... or to use it as a submodule.

git submodule add https://github.com/schoenenberg/zola-paper.git themes/zola-paper

Either way, you will have to enable the theme in your config.toml.

theme = "zola-paper"

Open Graph Integration

This theme has an integration of Open Graph meta tags. These are set based on context and available information. See the following example:

+++
title = "Lorem ipsum!"

[extra]
author = "Max Mustermann"
author_url = "https://www.facebook.com/example.profile.3"
banner_path = "default-banner"

[taxonomies]
tags = ["rust", "zola", "blog"]
+++

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc eu feugiat sapien. Aenean ligula nunc, laoreet id sem in, interdum bibendum felis. Donec vel dui neque.
<!-- more -->
Ut luctus dolor ut tortor hendrerit, sed hendrerit augue scelerisque. Suspendisse quis sodales dui, at tempus ante. Nulla at tempor metus. Aliquam vitae rutrum diam. Curabitur iaculis massa dui, quis varius nulla finibus a. Praesent eu blandit justo. Suspendisse pharetra, arcu in rhoncus rutrum, magna magna viverra erat, ...

Required attributes of the extra section is author. All other attributes are optional. The path for the banner_path attribute has to be relative to the content directory.