{ "info": { "author": "Stefan \"hr\" Berder", "author_email": "hr@bonz.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 6 - Mature", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Topic :: Internet" ], "description": "===========================\nPelican - category template\n===========================\n\n.. image:: https://travis-ci.org/hrbonz/pelican-category_template.png?branch=master\n :target: https://travis-ci.org/hrbonz/pelican-category_template\n\nLoad a template for any content (article, page) based on its category. For\nexample, for an article, if a template named ``article-.html`` exists\nin the theme or Jinja2 path, it will be used. If not, then the default template\nis used.\n\n\nInstall\n-------\n\nUse pip to install the plugin:\n\n.. code:: sh\n\n $ pip install pelican-category_template\n\n\nUsage\n-----\n\nTo use the plugin, add it to the ``PLUGINS`` list in your configuration file.\nPut it in ``pelicanconf.py`` by default:\n\n.. code:: python\n\n PLUGINS = [\n # ...\n 'categorytpl'',\n ]\n\n\nTest\n----\n\n.. code:: sh\n\n $ python -m unittest discover", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hrbonz/pelican-category_template", "keywords": null, "license": "BSD 2-Clause", "maintainer": null, "maintainer_email": null, "name": "pelican-category_template", "package_url": "https://pypi.org/project/pelican-category_template/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pelican-category_template/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/hrbonz/pelican-category_template" }, "release_url": "https://pypi.org/project/pelican-category_template/v0.0.2/", "requires_dist": null, "requires_python": null, "summary": "A pelican plugin to apply a template based on the category of the content.", "version": "v0.0.2" }, "last_serial": 959375, "releases": { "v0.0.1": [], "v0.0.2": [ { "comment_text": "", "digests": { "md5": "3ac715fafa3d3d9e3c6c0ed7b39330ad", "sha256": "f5196609bcd08307f3fad9cb2a470a4bdf2c48ab1528faec103b5e1aa66adb3c" }, "downloads": -1, "filename": "pelican-category_template-v0.0.2.tar.gz", "has_sig": false, "md5_digest": "3ac715fafa3d3d9e3c6c0ed7b39330ad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3429, "upload_time": "2014-01-03T10:33:55", "url": "https://files.pythonhosted.org/packages/b9/f0/885641370db2cf484e4ae9461536876cb42cc6f9b93e9cb5a3f8d46b6a14/pelican-category_template-v0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3ac715fafa3d3d9e3c6c0ed7b39330ad", "sha256": "f5196609bcd08307f3fad9cb2a470a4bdf2c48ab1528faec103b5e1aa66adb3c" }, "downloads": -1, "filename": "pelican-category_template-v0.0.2.tar.gz", "has_sig": false, "md5_digest": "3ac715fafa3d3d9e3c6c0ed7b39330ad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3429, "upload_time": "2014-01-03T10:33:55", "url": "https://files.pythonhosted.org/packages/b9/f0/885641370db2cf484e4ae9461536876cb42cc6f9b93e9cb5a3f8d46b6a14/pelican-category_template-v0.0.2.tar.gz" } ] }