mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge branch 'master' into implement_first_and_last_page_paginator
This commit is contained in:
commit
3e26c76e8a
246 changed files with 2645 additions and 2006 deletions
|
|
@ -4,7 +4,7 @@ Creating themes
|
|||
###############
|
||||
|
||||
To generate its HTML output, Pelican uses the `Jinja
|
||||
<http://jinja.pocoo.org/>`_ templating engine due to its flexibility and
|
||||
<https://palletsprojects.com/p/jinja/>`_ templating engine due to its flexibility and
|
||||
straightforward syntax. If you want to create your own theme, feel free to take
|
||||
inspiration from the `"simple" theme
|
||||
<https://github.com/getpelican/pelican/tree/master/pelican/themes/simple/templates>`_.
|
||||
|
|
@ -104,7 +104,7 @@ that allow them to be easily sorted by name::
|
|||
If you want to sort based on different criteria, `Jinja's sort command`__ has a
|
||||
number of options.
|
||||
|
||||
__ http://jinja.pocoo.org/docs/templates/#sort
|
||||
__ https://jinja.palletsprojects.com/en/master/templates/#sort
|
||||
|
||||
|
||||
Date Formatting
|
||||
|
|
@ -120,8 +120,8 @@ your date according to the locale given in your settings::
|
|||
|
||||
{{ article.date|strftime('%d %B %Y') }}
|
||||
|
||||
.. _datetime: https://docs.python.org/2/library/datetime.html#datetime-objects
|
||||
.. _strftime: https://docs.python.org/2/library/datetime.html#strftime-strptime-behavior
|
||||
.. _datetime: https://docs.python.org/3/library/datetime.html#datetime-objects
|
||||
.. _strftime: https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior
|
||||
|
||||
|
||||
index.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue