forked from github/pelican
expand period tests to be more specific
This commit is contained in:
parent
30adfba1ca
commit
b8d5919cd2
2 changed files with 48 additions and 16 deletions
|
|
@ -484,7 +484,7 @@ class ArticlesGenerator(CachingGenerator):
|
|||
except PelicanTemplateNotFound:
|
||||
template = self.get_template('archives')
|
||||
|
||||
for granularity in list(self.period_archives.keys()):
|
||||
for granularity in self.period_archives:
|
||||
for period in self.period_archives[granularity]:
|
||||
|
||||
context = self.context.copy()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue