mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Fix formatting, etc in Settings documentation
This commit is contained in:
parent
60e80ad634
commit
7f4e614bb8
1 changed files with 3 additions and 3 deletions
|
|
@ -983,7 +983,7 @@ By default, pages subsequent to ``.../foo.html`` are created as
|
||||||
``.../foo2.html``, etc. The ``PAGINATION_PATTERNS`` setting can be used to
|
``.../foo2.html``, etc. The ``PAGINATION_PATTERNS`` setting can be used to
|
||||||
change this. It takes a sequence of triples, where each triple consists of::
|
change this. It takes a sequence of triples, where each triple consists of::
|
||||||
|
|
||||||
(minimum_page, page_url, page_save_as,)
|
(minimum_page, page_url, page_save_as,)
|
||||||
|
|
||||||
For ``page_url`` and ``page_save_as``, you may use a number of variables.
|
For ``page_url`` and ``page_save_as``, you may use a number of variables.
|
||||||
``{url}`` and ``{save_as}`` correspond respectively to the ``*_URL`` and
|
``{url}`` and ``{save_as}`` correspond respectively to the ``*_URL`` and
|
||||||
|
|
@ -997,7 +997,7 @@ subsequent pages at ``.../page/2/`` etc, you could set ``PAGINATION_PATTERNS``
|
||||||
as follows::
|
as follows::
|
||||||
|
|
||||||
PAGINATION_PATTERNS = (
|
PAGINATION_PATTERNS = (
|
||||||
(1, '{url}', '{save_as}`,
|
(1, '{url}', '{save_as}',
|
||||||
(2, '{base_name}/page/{number}/', '{base_name}/page/{number}/index.html'),
|
(2, '{base_name}/page/{number}/', '{base_name}/page/{number}/index.html'),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue