Нема описа

Ionel Cristian Mărieș 84fbe7ca22 Add gist directive plugin. пре 9 година
asciidoc_reader fc3a4d8993 import AsciiDocReader from core as a plugin пре 10 година
assets 7937fa62c8 Merge pull request #388 from robclancy/patch-1 пре 9 година
better_code_samples @ 91717a204b 6ceaf91a0f Added the better_code_samples plugin. пре 10 година
better_codeblock_line_numbering 18889d23bc Added files for new Codeblock Line Numbering Pelican plugin. пре 9 година
better_figures_and_images d5b95b33c4 better_figures_and_images: handle missing files due to Unicode пре 9 година
bootstrapify @ bc4e0a1bf2 085f727e7f fix bootstrapify пре 9 година
category_meta ba71aac048 New category_meta plugin. пре 9 година
cjk-auto-spacing @ 92346597b8 3f47cbd468 add cjk-auto-spacing as submodule пре 10 година
clean_summary b86be87c61 fixed typos in README пре 10 година
code_include 95600f17b7 Removed docstrings to avoid doc duplication. пре 11 година
collate_content 3308025053 Added collate_content plugin. пре 10 година
creole_reader 3a804aec12 Creole reader: add source code highlighting support. пре 10 година
custom_article_urls 3f75d36a91 generating the temp_article now uses empty string rather than None пре 9 година
dateish eeb79b8376 Have Dateish support multiple dates per field пре 9 година
disqus_static 0ab01b2994 fix invalid name for __init__.py & add unicode_literals import пре 10 година
events 9aac5bc39d First commit. пре 9 година
extract_toc b2eab9406f extract_toc: fix markdown case when toc not found пре 9 година
feed_summary 6f125570b3 Fix feed_summary plugin for python3. пре 9 година
filetime_from_git 698dd8706e Fixed "CRITICAL: can't compare offset-naive and offset-aware datetimes" bug пре 9 година
footer_insert 744aab3437 update README. пре 9 година
gallery 7c0c67998b Implemented gallery also for static pages пре 9 година
gist_directive 84fbe7ca22 Add gist directive plugin. пре 9 година
github_activity b35996ca43 Allow for an optional maximum number of entries to display. пре 10 година
global_license d3495d0249 Update article_generate_context to article_generator_context пре 10 година
goodreads_activity d3495d0249 Update article_generate_context to article_generator_context пре 10 година
googleplus_comments 13a8ea5d5f first implementation of google plus comments пре 10 година
gravatar d47fdc1ea5 adding markdown specific instructions to gravatar readme пре 10 година
gzip_cache 2516c7770a Adjust rules for what gets compressed by `gzip_cache`. пре 9 година
html_entity 1250a08f76 Create html_entity plugin пре 10 година
html_rst_directive 9e70c17839 import plugins from core and restructure repo пре 11 година
i18n_subsites fc71eeb6fa Update the i18n_subsites plugin, addresses many issues пре 9 година
ical 768e02b2d5 Update signal names for Pelican 3.2+ пре 10 година
interlinks 3df48a1b77 Improve summary of interlinks plugin пре 10 година
liquid_tags 2adbd9f52c Updated spotify, vimeo & youtube tag to be more pep8 пре 9 година
multi_neighbors @ 1ce0526863 0eaa0ce998 Update Multi Neighbors to latest. пре 9 година
multi_part 62e09d3648 The multi_part plugin has been set as deprecated пре 9 година
neighbors f2aeed121b fixed conditionals in usage example пре 9 година
optimize_images bcc51dc42c Proper logging in optimize_images пре 11 година
pandoc_reader @ 9ef0197eed 69cbce296f update of pandoc_reader: пре 9 година
panorama @ 5e13c69b28 b915deb7e4 Panorama v0.1 submodule пре 9 година
pdf b1f33df20d Issue #1009: Moved PdfGenerator to pelican-plugins and added a basic test пре 10 година
pelican-flickr @ e1b6dddf2c c9b45f059a Add pelican-flickr plugin. пре 10 година
pelican-gist @ 4cce3dad9e b2797b58e6 add pelican-gist plugin пре 10 година
pelican-githubprojects @ f55b497dcc a49de416bd Added githubprojects plugins пре 9 година
pelican-jinja2content @ 9adc69f786 0818059f7f Two new plugins: pelican-jinja2content and pelican-md-yaml пре 9 година
pelican-langcategory @ 94fc0bc298 cbe8263153 added pelican-langcategory plugin пре 9 година
pelican-md-yaml @ 22712fc787 0818059f7f Two new plugins: pelican-jinja2content and pelican-md-yaml пре 9 година
pelican-page-hierarchy @ f11b533a50 ba1622daed Add pelican-page-hierarchy plugin пре 9 година
pelican-page-order @ 1e3ee850b8 91cba72fa5 Add pelican-page-order plugin пре 9 година
pelican_comment_system cec12be893 Merge pull request #250 from clokep/fix-avatars пре 9 година
pelican_vimeo @ d18f1ddfe9 1f2c383b7e Added YouTube and Vimeo plugins пре 10 година
pelican_youtube @ 045c43dd4d 1f2c383b7e Added YouTube and Vimeo plugins пре 10 година
pelicanfly @ 265865f693 2bc7da5ea4 Add pelicanfly plugin пре 10 година
pelicanthemes-generator @ 916f5a570f eff1a9bf00 Merged by hand because of severe conflicts. Closes #158 пре 9 година
pin_to_top @ 4c022ecbd9 782a2eaf04 added new submodule pin_to_top пре 10 година
plantuml a19f7f49f2 added plantuml_rst plugin пре 10 година
post_stats 855f87300a [post_stats] Python 3 compatibility пре 10 година
random_article 9e70c17839 import plugins from core and restructure repo пре 11 година
read_more_link 89aff9aa45 Add python3 support to read_more_link пре 9 година
related_posts ab63994cf9 Add related_posts option RELATED_POSTS_SKIP_SAME_CATEGORY пре 9 година
render_math 8b7a086000 Mathjax configuration option: Allow automatic line breaks пре 9 година
representative_image 17efcb10d3 Update readme to clarify behaviour of plugin and specifying a custom image пре 10 година
rmd_reader d19bcf29c1 Update Readme.md пре 9 година
series 345e9cab23 incorrect property on article.series пре 9 година
share_post b0e6993e8a share_post: add share-to-Diaspora* support пре 9 година
simple_footnotes c85ea081c0 Simple Footnotes plugin. Add footnotes to your text by enclosing them in [ref] and [/ref]. пре 10 година
sitemap c0a882b5ac Fix /index.html as / in generated sitemap пре 9 година
sort_tags @ a3413a417e 5714f1d470 fix sort_tags пре 9 година
static_comments 8052ea9f9e add static_comments plugin пре 10 година
subcategory 3bf1ac5e98 Fixed missing quote mark in an HTML example пре 10 година
summary c7146c9bd8 Added example for summary markers in reST documents пре 10 година
test_data 31ccbde072 teach plugins with dependencies to behave пре 11 година
thumbnailer 66e29469c3 Added option to save the file tree in the generation of thumbnailes. пре 9 година
tipue_search b4963c93af Merge pull request #247 from arty-name/no-ensure-ascii пре 9 година
touch 568c346684 Update timestamps of generated feeds as well пре 9 година
twitter_bootstrap_rst_directives 623a512d4c Update bootstrap_rst_directives.py пре 9 година
video_privacy_enhancer 94187ae062 Added files for new Video Privacy Enhancer Pelican plugin. пре 9 година
w3c_validate 37384bd777 adds instruction to w3c_validate пре 9 година
.gitignore 87f81ab4f5 add ~ files to gitignore пре 11 година
.gitmodules b915deb7e4 Panorama v0.1 submodule пре 9 година
.travis.yml 31ccbde072 teach plugins with dependencies to behave пре 11 година
Contributing.rst 850db33263 Don't enforce the licence to be AGPL. пре 11 година
LICENSE b83ce37a2a Also update the LICENSE file пре 11 година
Readme.rst b915deb7e4 Panorama v0.1 submodule пре 9 година
latex 5af9d08c06 moved latex to render_math; latex now symbolic link пре 10 година

Readme.rst

Pelican Plugins
###############

Beginning with version 3.0, Pelican supports plugins. Plugins are a way to add
features to Pelican without having to directly modify the Pelican core. Starting
with 3.2, all plugins (including the ones previously in the core) are
moved here, so this is the central place for all plugins.

How to use plugins
==================

Easiest way to install and use these plugins is cloning this repo::

git clone https://github.com/getpelican/pelican-plugins

and activating the ones you want in your settings file::

PLUGIN_PATHS = ['path/to/pelican-plugins']
PLUGINS = ['assets', 'sitemap', 'gravatar']

``PLUGIN_PATHS`` can be a path relative to your settings file or an absolute path.

Alternatively, if plugins are in an importable path, you can omit ``PLUGIN_PATHS``
and list them::

PLUGINS = ['assets', 'sitemap', 'gravatar']

or you can ``import`` the plugin directly and give that::

import my_plugin
PLUGINS = [my_plugin, 'assets']

Plugin descriptions
===================

======================== ===========================================================
Plugin Description
======================== ===========================================================
AsciiDoc reader Use AsciiDoc to write your posts.

Asset management Use the Webassets module to manage assets such as CSS and JS files.

Better code samples Wraps all `table` blocks with a class attribute `.codehilitetable` in an additional `div` of class `.hilitewrapper`. It thus permits to style codeblocks better, especially to make them scrollable.

Better figures/samples Adds a `style="width: ???px; height: auto;"` attribute to any `` tags in the content

bootstrapify Automatically add bootstraps default classes to your content, usefull for md generated tables

CJK auto spacing Inserts spaces between Chinese/Japanese/Korean characters and English words

Clean summary Cleans your summary of excess images

Code include Includes Pygments highlighted code in reStructuredText

Collate content Makes categories of content available to the template as lists through a `collations` attribute

Creole reader Allows you to write your posts using the wikicreole syntax

Custom article URLs Adds support for defining different default URLs for different categories

Disqus static comments Adds a disqus_comments property to all articles. Comments are fetched at generation time using disqus API

Extract table of content Extracts table of contents (ToC) from `article.content`

Feed Summary Allows article summaries to be used in ATOM and RSS feeds instead of the entire article

Filetime from git Uses git commit to determine page date

Gallery Allows an article to contain an album of pictures

GitHub activity On the template side, you just have to iterate over the ``github_activity`` variable

Global license Allows you to define a ``LICENSE`` setting and adds the contents of that license variable to the article's context

Goodreads activity Lists books from your Goodreads shelves

GooglePlus comments Adds GooglePlus comments to Pelican

Gravatar Assigns the ``author_gravatar`` variable to the Gravatar URL and makes the variable available within the article's context

Gzip cache Enables certain web servers (e.g., Nginx) to use a static cache of gzip-compressed files to prevent the server from compressing files during an HTTP call

HTML entities Allows you to enter HTML entities such as ©, <, • inline in a RST document

HTML tags for rST Allows you to use HTML tags from within reST documents

I18N Sub-sites Extends the translations functionality by creating internationalized sub-sites for the default site

ical Looks for and parses an ``.ics`` file if it is defined in a given page's ``calendar`` metadata.

Interlinks Lets you add frequently used URLs to your markup using short keywords

Liquid-style tags Allows liquid-style tags to be inserted into markdown within Pelican documents

Multi parts posts Allows you to write multi-part posts

Neighbor articles Adds ``next_article`` (newer) and ``prev_article`` (older) variables to the article's context

Optimize images Applies lossless compression on JPEG and PNG images

PDF generator Automatically exports RST articles and pages as PDF files

Pelican-flickr Brings your Flickr photos & sets into your static website

Pelican Gist tag Easily embed GitHub Gists in your Pelican articles

Pelican Page Order Adds a ``page_order`` attribute to all pages if one is not defined.

Pelican comment system Allows you to add static comments to your articles

Pelican Vimeo Enables you to embed Vimeo videos in your pages and articles

Pelican YouTube Enables you to embed YouTube videos in your pages and articles

pelicanfly Lets you type things like `i ♥ :fa-coffee:` in your Markdown documents and have it come out as little Font Awesome icons in the browser

Pin to top Pin Pelican's article(s) to top "Sticky article"

PlantUML Allows you to define UML diagrams directly into rst documents using the great PlantUML tool

Post statistics Calculates various statistics about a post and store them in an article.stats dictionary

Random article Generates a html file which redirect to a random article

Read More link Inserts an inline "read more" or "continue" link into the last html element of the object summary

Related posts Adds the ``related_posts`` variable to the article's context

Math Render Gives pelican the ability to render mathematics

Panorama Creates charts from posts metadata

Representative image Extracts a representative image (i.e, featured image) from the article's summary or content

Share post Creates share URLs of article

Simple footnotes Adds footnotes to blog posts

Sitemap Generates plain-text or XML sitemaps

sort_tags Provides `tags_sorted_by_article_length` to templates, which contains all tags, sorted by how many articles it contains first, and alphabetically second.

Static comments Allows you to add static comments to an article

Subcategory Adds support for subcategories

Summary Allows easy, variable length summaries directly embedded into the body of your articles

Thumbnailer Creates thumbnails for all of the images found under a specific directory

Tipue Search Serializes generated HTML to JSON that can be used by jQuery plugin - Tipue Search

Touch Does a touch on your generated files using the date metadata from the content

Twitter Bootstrap Defines some rst directive that enable a clean usage of the twitter bootstrap CSS and Javascript components

W3C validate Submits generated HTML content to the W3C Markup Validation Service
======================== ===========================================================


Please refer to the ``Readme`` file in a plugin's folder for detailed information about
that plugin.

Contributing a plugin
=====================

Please refer to the `Contributing`_ file.

.. _Contributing: Contributing.rst