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
8033162ba4
commit
5a74df9fcd
4 changed files with 10 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