Skip to main content
https://badge.fury.io/py/pelican-shiori.svg

pelican-shiori is a port of the Shiori theme (originally built for Jekyll by Elle Kasai) to Pelican.

Installation

$ pip install pelican-shiori

Requirements

Usage

In your pelican settings.py, set the THEME and ASSET_CONFIG variables like the following -

import pelican_shiori

THEME = pelican_shiori.path()
ASSET_CONFIG = pelican_shiori.asset_config()

Configuration

The following configuration variables are supported.

  • SHIORI_AVATAR_URL: URL of the avatar you’d like to show on the sidebar

  • SHIORI_HIDE_SIDEBAR: whether or not to show the sidebar

  • SHIORI_INDEX_ARTICLES_COUNT: number of articles to show on the index page

  • SHIORI_THEME: which color scheme to use (one of dark, turquoise, green, blue, purple, orange, red)

Color Schemes

This theme is available in multiple color schemes (based on Flat UI Colors). The default value for the color scheme is set to (surprise) default. To change it to one of the supported values, adjust the SHIORI_THEME and ASSET_CONFIG variables as follows -

SHIORI_THEME = 'blue'
ASSET_CONFIG = pelican_shiori.asset_config(SHIORI_THEME)

Please make sure that the argument given to pelican_shiori.asset_config is the same as SHIORI_THEME. Bad things may happen otherwise.

Metadata

Release files for pelican-shiori 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pelican-shiori 0.2.1
File Size Uploaded
pelican_shiori-0.2.1.tar.gz 59.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pelican-shiori 0.2.1
File Interpreter ABI Platform
pelican_shiori-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 153.4 kB

Release files / pelican_shiori-0.2.1.tar.gz

Download URL pelican_shiori-0.2.1.tar.gz
Size 59.3 kB
Tags Source
SHA-256 checksum
How to use checksums
755d749701a168b38d99333f43355a36a9d77d39777ab48b8cdbee7ed7d93226
BLAKE2b-256 checksum
How to use checksums
26851d72e879778463df4a8e862bc339b312c9ef61b66abc6482bfd0895b1f52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pelican_shiori-0.2.1-py3-none-any.whl

Download URL pelican_shiori-0.2.1-py3-none-any.whl
Size 94.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0aaf2bb10d8bf4c88333a1bb7d9753b5dfba4ae4b671c9d86174f105dc5ceea5
BLAKE2b-256 checksum
How to use checksums
35704c4a0e029f7d11be6a1ca9d5d6cd591d5ecfa65b413981002eac9d8b2be0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page