mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Documentation changes based on pull request comments.
- Settings -> Template pages: DIRECT_TEMPLATES example - Creating Themes -> Common variables: authors and tags descriptions
This commit is contained in:
parent
86c1db1c63
commit
4f49428961
2 changed files with 5 additions and 5 deletions
|
|
@ -728,12 +728,12 @@ Template pages
|
|||
|
||||
The extensions to use when looking up template files from template names.
|
||||
|
||||
.. data:: DIRECT_TEMPLATES = ['index', 'tags', 'categories', 'authors', 'archives']
|
||||
.. data:: DIRECT_TEMPLATES = ['index', 'authors', 'categories', 'tags', 'archives']
|
||||
|
||||
List of templates that are used directly to render content. Typically direct
|
||||
templates are used to generate index pages for collections of content (e.g.,
|
||||
tags and category index pages). If the tag and category collections are not
|
||||
needed, set ``DIRECT_TEMPLATES = ['index', 'authors', 'archives']``
|
||||
category and tag index pages). If the author, category and tag collections are not
|
||||
needed, set ``DIRECT_TEMPLATES = ['index', 'archives']``
|
||||
|
||||
``DIRECT_TEMPLATES`` are searched for over paths maintained in
|
||||
``THEME_TEMPLATES_OVERRIDES``.
|
||||
|
|
|
|||
|
|
@ -82,11 +82,11 @@ dates The same list of articles, but ordered by date,
|
|||
ascending.
|
||||
drafts The list of draft articles
|
||||
authors A list of (author, articles) tuples, containing all
|
||||
the authors.
|
||||
the authors and corresponding articles (values)
|
||||
categories A list of (category, articles) tuples, containing
|
||||
all the categories and corresponding articles (values)
|
||||
tags A list of (tag, articles) tuples, containing all
|
||||
the tags.
|
||||
the tags and corresponding articles (values)
|
||||
pages The list of pages
|
||||
hidden_pages The list of hidden pages
|
||||
draft_pages The list of draft pages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue