2022-04-20 12:53:48 +00:00
|
|
|
|
|
|
|
+++
|
|
|
|
title = "Seje2"
|
|
|
|
description = "A beautiful zola theme"
|
|
|
|
template = "theme.html"
|
2022-06-06 08:46:29 +00:00
|
|
|
date = 2022-06-03T14:22:50-07:00
|
2022-04-20 12:53:48 +00:00
|
|
|
|
|
|
|
[extra]
|
2022-06-06 08:46:29 +00:00
|
|
|
created = 2022-06-03T14:22:50-07:00
|
|
|
|
updated = 2022-06-03T14:22:50-07:00
|
2022-04-20 12:53:48 +00:00
|
|
|
repository = "https://github.com/eatradish/seje2"
|
|
|
|
homepage = "https://github.com/eatradish/Seje2"
|
|
|
|
minimum_version = "0.15.0"
|
|
|
|
license = "MIT"
|
2022-06-06 08:46:29 +00:00
|
|
|
demo = "https://blog.miraclemilk.me/Seje2"
|
2022-04-20 12:53:48 +00:00
|
|
|
|
|
|
|
[extra.author]
|
|
|
|
name = "Mag Mell"
|
|
|
|
homepage = "https://blog.utopiosphere.net"
|
|
|
|
+++
|
|
|
|
|
|
|
|
# Seje2
|
|
|
|
|
|
|
|
![screenshot](screenshot.png)
|
|
|
|
|
|
|
|
[Demo](https://eatradish.github.io/Seje2)
|
|
|
|
|
|
|
|
## Contents
|
|
|
|
|
|
|
|
- [Installation](#installation)
|
|
|
|
- [Options](#options)
|
|
|
|
- [Top menu](#top-menu)
|
|
|
|
- ["About" page](#"About"-page)
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
First download this theme to your `themes` directory:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
cd themes
|
|
|
|
git clone https://github.com/eatradish/Seje2
|
|
|
|
```
|
|
|
|
and then enable it in your `config.toml`:
|
|
|
|
|
|
|
|
```toml
|
|
|
|
theme = "Seje2"
|
|
|
|
```
|
|
|
|
|
|
|
|
This theme requires your index section (`content/_index.md`) to be paginated to work:
|
|
|
|
|
|
|
|
```toml
|
|
|
|
paginate_by = 5
|
|
|
|
```
|
|
|
|
|
|
|
|
The posts should therefore be in directly under the `content` folder.
|
|
|
|
|
|
|
|
## Options
|
|
|
|
|
|
|
|
### Top-menu
|
|
|
|
Set a field in `extra` with a key of `seje2_menu_links`:
|
|
|
|
|
|
|
|
```toml
|
|
|
|
seje2_menu_links = [
|
|
|
|
{url = "$BASE_URL", name = "Home"},
|
|
|
|
{url = "$BASE_URL/categories", name = "Categories"},
|
|
|
|
{url = "$BASE_URL/tags", name = "Tags"},
|
|
|
|
{url = "https://google.com", name = "Google"},
|
|
|
|
]
|
|
|
|
```
|
|
|
|
|
|
|
|
If you put `$BASE_URL` in a url, it will automatically be replaced by the actual
|
|
|
|
site URL.
|
|
|
|
|
|
|
|
### "About"-page
|
|
|
|
|
|
|
|
In a about page (wrap this in +++):
|
|
|
|
|
|
|
|
```toml
|
|
|
|
title = "..."
|
|
|
|
|
|
|
|
[extra]
|
|
|
|
year = 2019
|
|
|
|
month = 11
|
|
|
|
day = 03
|
|
|
|
```
|
|
|
|
|
|
|
|
|