mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Add period_num var for period_archives template
This makes it easier to create templates that are language-agnostic or need extra processing for the date period.
This commit is contained in:
parent
7893455b43
commit
487da3550b
3 changed files with 7 additions and 0 deletions
|
|
@ -327,6 +327,8 @@ period A tuple of the form (`year`, `month`, `day`) that
|
|||
given year. It contains both `year` and `month`
|
||||
if the time period is over years and months and
|
||||
so on.
|
||||
period_num A tuple of the form (``year``, ``month``, ``day``),
|
||||
as in ``period``, except all values are numbers.
|
||||
|
||||
=================== ===================================================
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue