153957-theme


Name153957-theme JSON
Version 5.0 PyPI version JSON
download
home_pageNone
SummaryTheme for sigal generated photo albums
upload_time2024-02-17 21:53:30
maintainerNone
docs_urlNone
authorNone
requires_python>=3.11
licenseNone
keywords photo album theme sigal
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Theme 153957

[![PyPI](https://img.shields.io/pypi/v/153957-theme)](https://pypi.org/project/153957-theme/)
[![License](https://img.shields.io/github/license/153957/153957-theme)](LICENSE)
[![Build](https://github.com/153957/153957-theme/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/153957/153957-theme/actions)

[View demo album here](https://153957.github.io/153957-theme/)


## 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.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "153957-theme",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": "Arne de Laat <arne@delaat.net>",
    "keywords": "photo album,theme,sigal",
    "author": null,
    "author_email": "Arne de Laat <arne@delaat.net>",
    "download_url": "https://files.pythonhosted.org/packages/95/a7/9cc0a6eaae1a6e35c240308c1234269f9778907e053667256cf5bcd5294d/153957_theme-5.0.tar.gz",
    "platform": null,
    "description": "# Theme 153957\n\n[![PyPI](https://img.shields.io/pypi/v/153957-theme)](https://pypi.org/project/153957-theme/)\n[![License](https://img.shields.io/github/license/153957/153957-theme)](LICENSE)\n[![Build](https://github.com/153957/153957-theme/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/153957/153957-theme/actions)\n\n[View demo album here](https://153957.github.io/153957-theme/)\n\n\n## Photo gallery template\n\nWeb photo gallery templates adapted to my personal preferences.\n\n\n## Usage\n\nThis section describes how to install and use this theme.\n\n\n### Installation\n\nInstall the `153597-theme` package:\n\n    $ pip install 153957-theme\n\n\n### Configure\n\nIn `sigal.conf.py` configuration for an album the `theme` setting should be\na path to a theme directory. However, since this theme is provided as a Python\npackage its location might be harder to get. Two options are available for\nconfiguration:\n\nThe theme can be configured as a plugin or you can get the path by importing\nthe package. By setting is as plugin the theme is automatically set.\n\nSet `theme` to an empty string and add the theme and menu plugins:\n\n    theme = ''\n    plugins = ['theme_153957.theme', 'theme_153957.full_menu', \u2026]\n\nThe alternative:\n\n    from theme_153957 import theme\n    theme = theme.get_path()\n    plugins = ['theme_153957.full_menu', \u2026]\n\n\n### Wrapping album\n\nUse the settings `head`, `body_prefix`, and `body_suffix` to add additional\ncode to the templates. The value of `head` is appended to the `head` element,\nthe `body` settings are placed just after the body opening tag (`prefix`) and\njust before the closing body tag (`suffix`). This allows embedding the album\nin your own website.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Theme for sigal generated photo albums",
    "version": "5.0",
    "project_urls": {
        "Repository": "https://github.com/153957/153957-theme/"
    },
    "split_keywords": [
        "photo album",
        "theme",
        "sigal"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "7783cf9660565dd65a72c260cf46b5e5b780845d4cf782d546b208de2d7d33eb",
                "md5": "1dda022e8e869ac9d0f9b7d077dd205c",
                "sha256": "a51fb21ecf5f1ae79cad93f83277ee918884d69f8a326f85d7f960a1eafefc81"
            },
            "downloads": -1,
            "filename": "153957_theme-5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1dda022e8e869ac9d0f9b7d077dd205c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 75838,
            "upload_time": "2024-02-17T21:53:26",
            "upload_time_iso_8601": "2024-02-17T21:53:26.840031Z",
            "url": "https://files.pythonhosted.org/packages/77/83/cf9660565dd65a72c260cf46b5e5b780845d4cf782d546b208de2d7d33eb/153957_theme-5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "95a79cc0a6eaae1a6e35c240308c1234269f9778907e053667256cf5bcd5294d",
                "md5": "cb82d6e9b4e6d3d5e287850fad278a01",
                "sha256": "c40774e8ba73ea758ec4cdf27e9353403c3b0216dd9f1b363c31e4fbfde12160"
            },
            "downloads": -1,
            "filename": "153957_theme-5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "cb82d6e9b4e6d3d5e287850fad278a01",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 12288509,
            "upload_time": "2024-02-17T21:53:30",
            "upload_time_iso_8601": "2024-02-17T21:53:30.153177Z",
            "url": "https://files.pythonhosted.org/packages/95/a7/9cc0a6eaae1a6e35c240308c1234269f9778907e053667256cf5bcd5294d/153957_theme-5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-17 21:53:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "153957",
    "github_project": "153957-theme",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "153957-theme"
}
        
Elapsed time: 1.87153s