Theme for sigal generated photo albums
Project description
Theme 153957
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file 153957_theme-7.0.tar.gz.
File metadata
- Download URL: 153957_theme-7.0.tar.gz
- Upload date:
- Size: 76.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d3b3ecb9bae550548ed547bb2eb6407560d7e97dfa2b6a27b639ff1708ffdb5
|
|
| MD5 |
406515c8cb6548e35eb119c6ef74cc14
|
|
| BLAKE2b-256 |
1a70075ffd04046ea2b3a8d3f283bdd96fed36d6a7423af1435f6a1b890800f3
|
File details
Details for the file 153957_theme-7.0-py3-none-any.whl.
File metadata
- Download URL: 153957_theme-7.0-py3-none-any.whl
- Upload date:
- Size: 78.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d847949a911976b5903834ef7455a595e58443b4aed4be70529dcfc97081d161
|
|
| MD5 |
a3eedb72c1d7ad3411b2a5dd3e67d181
|
|
| BLAKE2b-256 |
36cd661c8a66cf77c3175eabbe4c4175d5f842bda67dfa0d302fc814da10bab5
|