Commit Graph

261 Commits

Author SHA1 Message Date
Barry Steyn
474b7fd2ff new latex math plugin, now handles typogrify correctly and does not need template alteration to be used 2014-02-18 06:48:05 -08:00
Justin Mayer
30657eca3a Merge pull request #157 from samyarous/master
Pelican plugin providing RST directives for twitter bootstrap partial intergration
2014-02-16 10:37:24 -08:00
Samy Arous
b86e17607c Initial release of the twitter bootstrap rst directives plugin 2014-02-16 19:23:48 +01:00
Justin Mayer
5e7bf54a95 Merge pull request #156 from stuartlangridge/simple-footnotes
Add Simple Footnotes plugin
2014-02-15 14:33:54 -08:00
sil
c85ea081c0 Simple Footnotes plugin. Add footnotes to your text by enclosing them in [ref] and [/ref]. 2014-02-15 21:34:28 +00:00
Justin Mayer
f7178ae0e9 Merge pull request #150 from runarberg/master
Fix missing quote mark in subcategories plugin docs
2014-02-10 10:28:31 -08:00
Justin Mayer
82597bb62e Merge pull request #152 from mlang/master
Add optional max number of entries to github_activity plugin
2014-02-10 10:26:47 -08:00
Mario Lang
b35996ca43 Allow for an optional maximum number of entries to display. 2014-02-10 17:27:54 +01:00
Rúnar Berg Baugsson Sigríðarson
3bf1ac5e98 Fixed missing quote mark in an HTML example 2014-02-09 00:54:01 +00:00
Justin Mayer
d7cb218e46 Merge pull request #149 from talha131/fix-neighbors
Neighbors plugin shouldn't require subcategories
2014-02-07 14:45:53 -08:00
Talha Mansoor
073c997eea Fix an issue in neighbors plugin which was introduced after subcategory support
It is not necessary that articles will have subcategories. You may
end up getting following critical error.

>
CRITICAL: ("'ArticlesGenerator' object has no attribute 'subcategories'",)
CRITICAL: 'ArticlesGenerator' object has no attribute 'subcategories'
Traceback (most recent call last):
  File "/Users/talha/Repos/VirtualEnvs/pelican-dev/bin/pelican", line 8, in <module>
    load_entry_point('pelican==3.3', 'console_scripts', 'pelican')()
  File "/Users/talha/Repos/VirtualEnvs/pelican-dev/lib/python2.7/site-packages/pelican-3.3-py2.7.egg/pelican/__init__.py", line 346, in main
    pelican.run()
  File "/Users/talha/Repos/VirtualEnvs/pelican-dev/lib/python2.7/site-packages/pelican-3.3-py2.7.egg/pelican/__init__.py", line 162, in run
    p.generate_context()
  File "/Users/talha/Repos/VirtualEnvs/pelican-dev/lib/python2.7/site-packages/pelican-3.3-py2.7.egg/pelican/generators.py", line 480, in generate_context
    signals.article_generator_finalized.send(self)
  File "/Users/talha/Repos/VirtualEnvs/pelican-dev/lib/python2.7/site-packages/blinker/base.py", line 267, in send
    for receiver in self.receivers_for(sender)]
  File "/Users/talha/Repos/pelican-plugins/neighbors/neighbors.py", line 49, in neighbors
    for subcategory, articles in generator.subcategories:
AttributeError: 'ArticlesGenerator' object has no attribute 'subcategories'
2014-02-07 11:40:48 +05:00
Justin Mayer
0a4bf7b9b0 Merge pull request #146 from smartass101/master
i18n_subsites: add lang_subsites template var, improve docs
2014-02-05 20:53:39 -08:00
Ondrej Grover
6f7dafaee6 i18n_subsites: add lang_subsites template var, improve docs
- the new variable makes it easier to implement language buttons
- a short howto on language buttons is also provided
- the dictionary mapping template vars are now OrderedDict
  for consistent-looking language buttons
2014-02-05 21:42:12 +01:00
Justin Mayer
3d65e38700 Merge pull request #118 from deepy/master
Add option to keep original filename and put thumbnail in a folder instead
2014-02-05 07:31:54 -08:00
Justin Mayer
88cd8305d2 Merge pull request #145 from smartass101/master
i18n_subsites: consider templates lang, expand docs, several fixes
2014-02-04 07:59:38 -08:00
Ondrej Grover
6feff11273 18n_subsites: use configure_settings() to sanitize
Also needed for LOCALE overrides, etc.
2014-02-04 15:07:24 +01:00
Ondrej Grover
0665333e8e i18n_subsites: improve develop server support
1. main site url root fix
2. support autoreload mode
Also removed trailing slash on dir name.
2014-02-04 14:24:44 +01:00
Ondrej Grover
dda48f6428 i18n_subsites: fix HIDE_UNTRANSLATED_CONTENT
1. was removing items of an active iterator -> only first worked
2. Article inherits Page, so first check if is Article
2014-02-04 14:14:43 +01:00
Ondrej Grover
e76f3cf914 i18n_subsites: consider templates lang, expand docs
this commit removes the need to make a dummy translation for
the language in which the templates are written.
This only affects themes using jinja2.ext.i18n.
The I18N_THEMES_LANG is introduced to address this issue.

Also expanded the docs for making gettext .po files with babel.
2014-02-03 20:04:40 +01:00
Justin Mayer
16437e1a05 Merge pull request #144 from idyedov/update_disqus_static
Fix structure of disqus_static plugin and update README
2014-02-03 06:58:07 -08:00
Justin Mayer
aa268e4883 Minor fixes to Custom Article URLs plugin README 2014-02-02 18:02:56 -08:00
Ivan Dyedov
a73d9dddcb fix structure of disqus_static plugin and update README 2014-02-02 20:58:27 -05:00
Justin Mayer
84b1962afc More fixes for Subcategory plugin README 2014-02-02 17:56:08 -08:00
Justin Mayer
56ca351f98 Minor fixes to Subcategory plugin README 2014-02-02 17:52:40 -08:00
Justin Mayer
ce06f87a43 Merge pull request #141 from alistairmagee/neighbors
Add categories and subcategories support to Neighbors plugin
2014-02-02 17:03:03 -08:00
Justin Mayer
614ea30efd Merge pull request #142 from alistairmagee/custom_article_urls
Custom article URLs
2014-02-02 17:01:24 -08:00
Ondrej Grover
ca377d918e i18n_subsites plugin: implement jinja2.ext.i18n support
this commit introduces optional support for translatable templates
2014-02-02 16:50:15 -08:00
Ondrej Grover
5e07f2dfc6 new plugin: i18n_subsites
This plugin extends the translations functionality by creating i8n-ized
sub-sites for the default site.
This commit implements the basic generation functionality.
2014-02-02 09:09:20 +01:00
Justin Mayer
d13465d1b2 Merge pull request #143 from alistairmagee/subcategory
Sub-categories with same basename but different parents should be unique
2014-02-01 12:31:05 -08:00
Justin Mayer
a0797a498b Merge pull request #137 from alistairmagee/clean_summary
Add "Clean Summary" plugin
2014-02-01 10:48:33 -08:00
Alistair Magee
02fb072aa3 altered plugin to work with updated subcategory plugin 2014-02-01 18:35:49 +00:00
Alistair Magee
dcc95a4611 update to the neighbors plugin to retrieve neigbors for categories and subcategories 2014-02-01 18:30:09 +00:00
Alistair Magee
b86be87c61 fixed typos in README 2014-02-01 18:21:56 +00:00
Alistair Magee
250cef84f0 subcategories with same basename but different parents were not unique. Fixed now. 2014-02-01 04:50:53 +00:00
Alistair Magee
f3549dd296 plugin to specify maxmium number of images to appear in summary 2014-01-31 16:32:03 +00:00
Justin Mayer
2ca07107d4 Merge pull request #120 from VuongN/master
Read more link plugin
2014-01-30 21:49:03 -08:00
Justin Mayer
614e670026 Merge pull request #136 from talha131/share-post
Add plugin to add share URLs to article
2014-01-26 14:37:52 -08:00
Justin Mayer
1793ebbf79 Merge pull request #135 from alistairmagee/custom_article_urls
Category-based URL structure plugin
2014-01-26 14:36:40 -08:00
Talha Mansoor
9a9f9bdb83 Add plugin to add share URLs to article 2014-01-26 18:44:36 +05:00
Alistair Magee
2e98bd8bdf remove uneeded imports 2014-01-25 20:14:49 +00:00
Alistair Magee
1f8b7e0f87 Support for custom urls for different categories of article 2014-01-25 20:03:01 +00:00
Justin Mayer
8f69faa77c Merge pull request #132 from talha131/patch-1
Clarify documentation of related_posts plugin
2014-01-24 13:15:50 -08:00
Justin Mayer
5cb7b449f7 Merge pull request #133 from alistairmagee/subcategory
A plugin to add subcategories to Article categories
2014-01-24 13:01:28 -08:00
Alistair Magee
1facc9468b added support for generating subcategory feeds 2014-01-24 12:59:57 +00:00
Talha Mansoor
b268db7312 Clarify documentation of related_posts plugin
It is not clear how the plugin determines which posts are related.
2014-01-24 17:55:03 +05:00
Alistair Magee
48b990c0cd A plugin to add subcategories to Article categories 2014-01-24 06:39:29 +00:00
Justin Mayer
5e6307d9e2 Merge pull request #131 from calfzhou/neighbors
Make neighbors plugin support translated articles.
2014-01-23 14:59:14 -08:00
zhouji
211d835f30 Make neighbors plugin support translated articles. 2014-01-23 09:26:47 +08:00
Justin Mayer
c4d7a761c8 Merge pull request #126 from rmorehead/tipue_search_no_cat_fix
Fix tipue_search failing with pages due to no category
2014-01-15 20:15:43 -08:00
Rod Morehead
95d7ebb470 Fixed tipue_search failing with pages due to no category. 2014-01-09 09:26:37 -06:00