Justin Mayer
1443131fde
Merge pull request #976 from kylewm/notmyidea-active-pages
...
Modify notmyidea to include class="active" on pages
2013-08-03 15:12:52 -07:00
Justin Mayer
bea03bb4bb
Merge pull request #979 from nyergler/pagination_conf
...
Support flexible pagination configuration
2013-08-03 14:58:47 -07:00
Justin Mayer
0de44cc844
Merge pull request #964 from nickzoic/master
...
Slugify {category} in URLs. Fixes #926
2013-08-03 14:45:07 -07:00
Nathan Yergler
d61ef0c66c
Adding basic documentation for PAGINATION_PATTERNS.
2013-08-03 14:06:16 -07:00
Nathan Yergler
50ff7ce89f
Fall back to the default PAGINATION PATTERNS when none specified.
2013-08-03 14:04:58 -07:00
Justin Mayer
4d614c173b
Merge pull request #999 from nicholaskuechler/group_pdf_settings
...
Group PDF related settings together.
2013-08-03 14:00:17 -07:00
Nathan Yergler
5ffbf907de
Create new formatting context dict instead of using self.__dict__
...
Using self.__dict__ is fine, but when its mutated it changes the
object's state. Creating a new dict avoids needing to think about
that, and doesn't introduce Python 3 issues (ie, where self.number is
accidentally set to '').
2013-08-03 13:49:43 -07:00
Nicholas Kuechler
92f5c06ba6
Group PDF related settings together.
2013-08-03 14:58:52 -05:00
karl
6a0d19ef5c
Adding context to the documentation for metadata
...
Giving a longer description Thanks to justin mayer for #995
2013-08-03 12:47:44 -04:00
karl
03e9d0182d
Fixing documentation according to Issue #362 .
...
The documentation as it is right now produces a CRITICAL: 'article' is
undefined
2013-08-03 00:31:43 -04:00
Justin Mayer
4c1b5c3429
Correct URL for pip install editable in docs
...
Refs # 975
2013-08-01 15:13:32 -07:00
Justin Mayer
1cebd345aa
Merge pull request #970 from russkel/themestaticdir
...
added THEME_STATIC_DIR setting
2013-08-01 08:42:13 -07:00
Alexis Metaireau
65a716ec02
Merge pull request #989 from getpelican/plugins-recipes
...
Start a section about plugin recipes in the docs
2013-08-01 05:48:53 -07:00
Alexis Métaireau
4fa9184b01
Start a section about plugin recipes in the docs
2013-08-01 14:47:56 +02:00
Nathan Yergler
74c7c72fb3
Use six.u instead of unicode.
2013-07-31 21:31:08 -07:00
Russ Webber
89034f8b3f
added THEME_STATIC_DIR setting
...
The theme static output directory path is now customisable via settings.
i.e. you can now use 'assets' instead of 'theme'.
2013-08-01 11:02:38 +08:00
Nathan Yergler
9abc08ea9f
Don't assume that PAGINATION_PATTERNS will always be present.
2013-07-31 18:57:21 -07:00
Kyle Fuller
51dc02f298
Add documentation for WITH_FUTURE_DATES
...
Closes #952
2013-07-31 23:08:42 +01:00
Kyle Fuller
80a7c3f293
Merge pull request #986 from TheHippo/patch-1
...
Fix file endings for examples
2013-07-31 14:55:06 -07:00
Philipp Klose
0e0775b74a
Fix file endings for examples
...
reStructured should use reStructured for linked documents. Markdown should use Markdown for linked documents.
2013-07-31 22:43:02 +02:00
Justin Mayer
30192b2318
Add fabfile generation to pelican-quickstart
...
This commit adds optional fabfile.py generation during the
pelican-quickstart process. Reasons include:
* "make" is cumbersome to install on Windows
* Fabric runs in any Python environment
* fabfile is just Python and thus more flexible and extensible
This is an initial implementation and does not currently provide as many
upload options as its Makefile counterpart.
Refs #584 .
2013-07-29 11:03:14 -07:00
Nathan Yergler
95890a2a61
Allow definition of pagination rules by page index.
2013-07-29 08:10:28 -04:00
Ross McFarland
71e83635ea
remove u prefix from string literal, using unicode_literals
2013-07-29 08:09:45 -04:00
Ross McFarland
0caa101ec7
use six.string_types for python 3 compat
2013-07-29 08:09:44 -04:00
Ross McFarland
e07b39dfcb
more robust PAGINATION_(URL|SAVE_AS) support
...
- add base_name and number_seperator to context to give more flexibility
when naming things
2013-07-29 08:09:44 -04:00
Ross McFarland
c5eecd23eb
PAGINATION_URL/PAGINATION_SAVE_AS implementation
...
allows the use of custom urls for pagination similar to *_URLS
2013-07-29 08:09:44 -04:00
Kyle Mahan
0ddabb95c3
Modify notmyidea to include class="active" on pages
2013-07-27 12:30:24 -07:00
Russ Webber
b527fd594d
added testing for default locale setting
...
removed LOCALE="" from default conf as it looks weird and you
shouldn't need to set a blank LOCALE for the system to work.
2013-07-21 14:12:21 +08:00
Russ Webber
2ace30cdb0
fix it not setting the default locale
...
If LOCALE was not specified in the settings file it would default
to [] insted of [''], where '' is used by locale.setlocale
to mean the user's default locale.
2013-07-21 13:31:11 +08:00
Justin Mayer
e32c893aa1
Support Gaug.es analytics in notmyidea theme
2013-07-18 10:26:45 -07:00
Justin Mayer
d4b64a3c8e
Merge pull request #873 from xlz/tumblr-import
...
Support importing Tumblr
2013-07-18 09:17:26 -07:00
Russ Webber
3445066b11
fix an exception not correctly reporting if the locale is not set
2013-07-18 09:44:46 +08:00
Jude N
c5008f61e0
Adding a FEED_ALL_ATOM check in the "social" div.
...
The head section has a tests for FEED_ALL_ATOM when building the atom link. This diff add a similar test in the "social" div.
2013-07-16 23:44:53 -04:00
Justin Mayer
9b0cfd9884
Merge pull request #883 from ben2367/author-filter
...
Add filter-author option to importer
2013-07-16 08:22:26 -07:00
Justin Mayer
f43742c3f0
Add missing SITEURL variable to tag cloud docs
2013-07-15 14:25:39 -07:00
Justin Mayer
b282b7c72d
Merge pull request #965 from cdhowie/master
...
Update tag cloud documentation
2013-07-15 13:59:23 -07:00
Chris Howie
4ca5d908ff
Update tag cloud documentation for SLUG_SUBSTITUTIONS
2013-07-15 16:48:08 -04:00
Nick Moore
9b7ae20aa9
test for author & category slugification
2013-07-15 00:22:05 +10:00
Nick Moore
6c5444eb68
do slug_substitutions on category and author ...
2013-07-14 23:01:16 +10:00
Alexis Metaireau
9f0ad2bd95
Merge pull request #958 from hrbonz/dev_server_port
...
Dev server port
2013-07-14 05:04:42 -07:00
Alexis Metaireau
5e73b7b40e
Merge pull request #954 from ajma/master
...
Adding stackoverflow to social icons
2013-07-14 03:35:13 -07:00
Alexis Metaireau
fe33d3eed5
Merge pull request #931 from Cartroo/slugsubstitutions
...
Allow text substitutions when generating slugs
2013-07-14 03:31:11 -07:00
Benjamin Port
cb650c1c99
Add filter-author option to importer
...
Allow to import post from only one author when importing data
2013-07-13 16:15:45 +02:00
Stefan hr Berder
689632835e
add port option to Makefile target serve/devserver
2013-07-07 14:28:31 +02:00
Stefan hr Berder
3a5db543bb
add port parameter to bash script
2013-07-07 13:27:50 +02:00
Lingzhu Xiang
241ac2400a
Use better titles than None for Tumblr posts without title
2013-07-07 19:05:21 +08:00
Lingzhu Xiang
75263fa852
Fix importing Tumblr photo caption
...
Besides each photo's caption, the general caption is also needed.
While we're at it, also add a linefeed at the end of file.
2013-07-07 19:05:21 +08:00
Lingzhu Xiang
00a1cbb6b8
Support importing Tumblr
...
Try to integrate Tumblr's various post types without using
additonal templates.
2013-07-07 19:05:21 +08:00
Stefan hr Berder
3da4c2e13e
add port option to pelican.server
2013-07-07 12:44:21 +02:00
Andy Pearce
39518e15ef
Allow text substitutions when generating slugs
...
The `slugify()` function used by Pelican is in general very good at
coming up with something both readable and URL-safe. However, there are
a few specific cases where it causes conflicts. One that I've run into
is using the strings `C++` and `C` as tags, both of which transform to
the slug `c`. This commit adds an optional `SLUG_SUBSTITUTIONS` setting
which is a list of 2-tuples of substitutions to be carried out
case-insensitively just prior to stripping out non-alphanumeric
characters. This allows cases like `C++` to be transformed to `CPP` or
similar. This can also improve the readability of slugs.
2013-07-04 12:17:21 +01:00