Skip to main content

Pelican theme, first used for Minchin.ca.

Project description

Seafoam Logo

Seafoam is a theme for Pelican, a static site generator written in Python.

The seafoam theme is based on Bootstrap 3, and was first used at Minchin.ca.

Installation

The easiest way to install the seafoam theme is through the use of pip. This will also install the required dependencies automatically.

pip install seafoam

Then, in your pelicanconf.py file, import the module, use the built in function to specify your theme location, set the default colour scheme (more options coming soon), add the required plugins, and set the image processing patterns used:

import seafoam

THEME = seafoam.get_path()
BOOTSTRAP_THEME = 'seafoam'

PLUGINS = ['minchin.pelican.jinja_filters',
           'minchin.pelican.plugins.image_process',
           # others, as desired...
           ]

IMAGE_PROCESS = {
  'article-feature': ["scale_in 848 848 True"],
  'index-feature': ["scale_in 263 263 True"],
}

# the rest of the your configuration file...

You will may also need to configure the theme through the use of additional settings (see below).

Requirements

Seafoam requires Pelican and the image_process and the jinja filters plugin. If the theme is installed from pip, these should be automatically installed. If needed they can be manually installed with pip:

pip install pelican
pip install minchin.pelican.plugins.image_process
pip install minchin.pelican.jinja_filters

Additional Settings

Details coming. In the meantime, refer to the settings on the Bootstrap 3 theme.

Credits

Original theme developed by Daan Debie.

The idea that a theme could be installed as a Python package by Jeff Forcier’s Alabaster theme for Sphinx.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seafoam-2.0.3.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

seafoam-2.0.3-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file seafoam-2.0.3.tar.gz.

File metadata

  • Download URL: seafoam-2.0.3.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for seafoam-2.0.3.tar.gz
Algorithm Hash digest
SHA256 ce7cc040fd0f3d8d6b2438f3fa7f00cdaf477f9de85b3718482d4c90346394fb
MD5 819252b77ae0479066678ab7cd18e91d
BLAKE2b-256 fc7cc4ea0017fa1ccec511fa6759cf0f452efbff32be77c3babd3bb74693b967

See more details on using hashes here.

File details

Details for the file seafoam-2.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for seafoam-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cb12f9ed6d2caed488a6a85bfee0321e6cbeb26f94c037f355df8c66fa5cb56f
MD5 d25d27f75d2ea6b675023d91a252bc05
BLAKE2b-256 6110dbda3f09a4dff69ba02371bd5787af552cc3d86f978c3ab908c7c1af3ab1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page