mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Do not activate the pagination by default
This commit is contained in:
parent
9f12721895
commit
fabc1f346e
2 changed files with 7 additions and 7 deletions
|
|
@ -36,6 +36,11 @@ Setting name what it does ?
|
||||||
`DEFAULT_CATEGORY` The default category to fallback on. `misc` by default.
|
`DEFAULT_CATEGORY` The default category to fallback on. `misc` by default.
|
||||||
`DEFAULT_DATE_FORMAT` The default date format you want to use.
|
`DEFAULT_DATE_FORMAT` The default date format you want to use.
|
||||||
`DEFAULT_LANG` The default language to use. Default is 'en'.
|
`DEFAULT_LANG` The default language to use. Default is 'en'.
|
||||||
|
`DEFAULT_ORPHANS` The minimum number of articles allowed on the last
|
||||||
|
page, defaults to zero. Use this when you don't want
|
||||||
|
to have a last page with very few articles.
|
||||||
|
`DEFAULT_PAGINATION` The maximum number of articles to include on a page,
|
||||||
|
not including orphans. Default is 5.
|
||||||
`DISPLAY_PAGES_ON_MENU` Display or not the pages on the menu of the template.
|
`DISPLAY_PAGES_ON_MENU` Display or not the pages on the menu of the template.
|
||||||
Templates can follow or not this settings.
|
Templates can follow or not this settings.
|
||||||
`FALLBACK_ON_FS_DATE` If True, pelican will use the file system dates infos
|
`FALLBACK_ON_FS_DATE` If True, pelican will use the file system dates infos
|
||||||
|
|
@ -76,12 +81,7 @@ Setting name what it does ?
|
||||||
`TRANSLATION_FEED` Where to put the RSS feed for translations. Default
|
`TRANSLATION_FEED` Where to put the RSS feed for translations. Default
|
||||||
is feeds/all-%s.atom.xml where %s is the name of the
|
is feeds/all-%s.atom.xml where %s is the name of the
|
||||||
lang.
|
lang.
|
||||||
`WITH_PAGINATION` Activate pagination. Default is True.
|
`WITH_PAGINATION` Activate pagination. Default is False.
|
||||||
`DEFAULT_PAGINATION` The maximum number of articles to include on a page,
|
|
||||||
not including orphans. Default is 5.
|
|
||||||
`DEFAULT_ORPHANS` The minimum number of articles allowed on the last
|
|
||||||
page, defaults to zero. Use this when you don't want
|
|
||||||
to have a last page with very few articles.
|
|
||||||
======================== =======================================================
|
======================== =======================================================
|
||||||
|
|
||||||
Themes
|
Themes
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ _DEFAULT_CONFIG = {'PATH': None,
|
||||||
'DATE_FORMATS': {},
|
'DATE_FORMATS': {},
|
||||||
'JINJA_EXTENSIONS': [],
|
'JINJA_EXTENSIONS': [],
|
||||||
'LOCALE': '', # default to user locale
|
'LOCALE': '', # default to user locale
|
||||||
'WITH_PAGINATION': True,
|
'WITH_PAGINATION': False,
|
||||||
'DEFAULT_PAGINATION': 5,
|
'DEFAULT_PAGINATION': 5,
|
||||||
'DEFAULT_ORPHANS': 0,
|
'DEFAULT_ORPHANS': 0,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue