Skip to main content

Theme for sigal generated photo albums

Project description

Theme 153957

PyPI License Build

View demo album here

Photo gallery template

Web photo gallery templates adapted to my personal preferences.

Usage

This section describes how to install and use this theme.

Installation

Install the 153597-theme package:

$ pip install 153957-theme

Configure

In sigal.conf.py configuration for an album the theme setting should be a path to a theme directory. However, since this theme is provided as a Python package its location might be harder to get. Two options are available for configuration:

The theme can be configured as a plugin or you can get the path by importing the package. By setting is as plugin the theme is automatically set.

Set theme to an empty string and add the theme and menu plugins:

theme = ''
plugins = ['theme_153957.theme', 'theme_153957.full_menu', …]

The alternative:

from theme_153957 import theme
theme = theme.get_path()
plugins = ['theme_153957.full_menu', …]

Wrapping album

Use the settings head, body_prefix, and body_suffix to add additional code to the templates. The value of head is appended to the head element, the body settings are placed just after the body opening tag (prefix) and just before the closing body tag (suffix). This allows embedding the album in your own website.

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

153957_theme-5.0.tar.gz (12.3 MB view details)

Uploaded Source

Built Distribution

153957_theme-5.0-py3-none-any.whl (75.8 kB view details)

Uploaded Python 3

File details

Details for the file 153957_theme-5.0.tar.gz.

File metadata

  • Download URL: 153957_theme-5.0.tar.gz
  • Upload date:
  • Size: 12.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for 153957_theme-5.0.tar.gz
Algorithm Hash digest
SHA256 c40774e8ba73ea758ec4cdf27e9353403c3b0216dd9f1b363c31e4fbfde12160
MD5 cb82d6e9b4e6d3d5e287850fad278a01
BLAKE2b-256 95a79cc0a6eaae1a6e35c240308c1234269f9778907e053667256cf5bcd5294d

See more details on using hashes here.

File details

Details for the file 153957_theme-5.0-py3-none-any.whl.

File metadata

  • Download URL: 153957_theme-5.0-py3-none-any.whl
  • Upload date:
  • Size: 75.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for 153957_theme-5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a51fb21ecf5f1ae79cad93f83277ee918884d69f8a326f85d7f960a1eafefc81
MD5 1dda022e8e869ac9d0f9b7d077dd205c
BLAKE2b-256 7783cf9660565dd65a72c260cf46b5e5b780845d4cf782d546b208de2d7d33eb

See more details on using hashes here.

Supported by

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