chiark / gitweb /
New m.metadata plugin.
authorVladimír Vondruš <mosra@centrum.cz>
Tue, 19 Dec 2017 15:47:45 +0000 (16:47 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Tue, 19 Dec 2017 19:34:21 +0000 (20:34 +0100)
commit803df4cc8afea91d3565732a1119345ac086bb37
tree5cd7fcff1de6003384dac2947b183124fd254dec
parentf071c62ccbcda3d8e27abc48e4d4582ef1c9e411
New m.metadata plugin.

Provides per-category, per-author and per-tag metadata:

 * Author and category image and "badge" (short description)
 * Author, category and tag description on their filter page, filling
   social meta tags as well
 * Ability to specify author twitter handle for social meta tags
49 files changed:
doc/examples/authors/an-author.rst [new file with mode: 0644]
doc/examples/categories/examples.rst [new file with mode: 0644]
doc/examples/tags/jumbo.rst [new file with mode: 0644]
doc/pelican/theme.rst
doc/plugins.rst
doc/plugins/metadata.rst [new file with mode: 0644]
pelican-plugins/m/metadata.py [new file with mode: 0644]
pelican-plugins/m/test/metadata/article-jumbo.html [new file with mode: 0644]
pelican-plugins/m/test/metadata/article-minimal.html [new file with mode: 0644]
pelican-plugins/m/test/metadata/article-no-image.html [new file with mode: 0644]
pelican-plugins/m/test/metadata/article.html [new file with mode: 0644]
pelican-plugins/m/test/metadata/articles/article-jumbo.rst [new file with mode: 0644]
pelican-plugins/m/test/metadata/articles/article-minimal.rst [new file with mode: 0644]
pelican-plugins/m/test/metadata/articles/article-no-image.rst [new file with mode: 0644]
pelican-plugins/m/test/metadata/articles/article.rst [new file with mode: 0644]
pelican-plugins/m/test/metadata/author-an-author.html [new file with mode: 0644]
pelican-plugins/m/test/metadata/author-author-with-no-image.html [new file with mode: 0644]
pelican-plugins/m/test/metadata/author-minimal-author.html [new file with mode: 0644]
pelican-plugins/m/test/metadata/authors/an-author.rst [new file with mode: 0644]
pelican-plugins/m/test/metadata/authors/author-with-no-image.rst [new file with mode: 0644]
pelican-plugins/m/test/metadata/authors/minimal-author.rst [new file with mode: 0644]
pelican-plugins/m/test/metadata/categories/a-category.rst [new file with mode: 0644]
pelican-plugins/m/test/metadata/categories/category-with-no-image.rst [new file with mode: 0644]
pelican-plugins/m/test/metadata/categories/minimal-category.rst [new file with mode: 0644]
pelican-plugins/m/test/metadata/category-a-category.html [new file with mode: 0644]
pelican-plugins/m/test/metadata/category-category-with-no-image.html [new file with mode: 0644]
pelican-plugins/m/test/metadata/category-minimal-category.html [new file with mode: 0644]
pelican-plugins/m/test/metadata/category.jpg [new symlink]
pelican-plugins/m/test/metadata/mosra.jpg [new symlink]
pelican-plugins/m/test/metadata/tag-a-tag.html [new file with mode: 0644]
pelican-plugins/m/test/metadata/tag-minimal-tag.html [new file with mode: 0644]
pelican-plugins/m/test/metadata/tags/a-tag.rst [new file with mode: 0644]
pelican-plugins/m/test/metadata/tags/minimal-tag.rst [new file with mode: 0644]
pelican-plugins/m/test/metadata_typography_html_escape/article.html [new file with mode: 0644]
pelican-plugins/m/test/metadata_typography_html_escape/articles/article.rst [new file with mode: 0644]
pelican-plugins/m/test/metadata_typography_html_escape/author-an-author.html [new file with mode: 0644]
pelican-plugins/m/test/metadata_typography_html_escape/authors/an-author.rst [new file with mode: 0644]
pelican-plugins/m/test/metadata_typography_html_escape/categories/a-category.rst [new file with mode: 0644]
pelican-plugins/m/test/metadata_typography_html_escape/category-a-category.html [new file with mode: 0644]
pelican-plugins/m/test/metadata_typography_html_escape/tag-a-tag.html [new file with mode: 0644]
pelican-plugins/m/test/metadata_typography_html_escape/tags/a-tag.rst [new file with mode: 0644]
pelican-plugins/m/test/test_metadata.py [new file with mode: 0644]
pelican-theme/templates/article.html
pelican-theme/templates/article_badges.html [new file with mode: 0644]
pelican-theme/templates/author.html
pelican-theme/templates/base_blog_section.html
pelican-theme/templates/category.html
pelican-theme/templates/tag.html
site/pelicanconf.py