mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
parent
dcd3045f32
commit
5435dd0d81
1 changed files with 3 additions and 2 deletions
|
|
@ -206,8 +206,9 @@ class Generator:
|
||||||
self.context['static_links'] |= content.get_static_links()
|
self.context['static_links'] |= content.get_static_links()
|
||||||
|
|
||||||
def _update_context(self, items):
|
def _update_context(self, items):
|
||||||
"""Update the context with the given items from the current
|
"""Update the context with the given items from the current processor.
|
||||||
processor.
|
|
||||||
|
Note that dictionary arguments will be converted to a list of tuples.
|
||||||
"""
|
"""
|
||||||
for item in items:
|
for item in items:
|
||||||
value = getattr(self, item)
|
value = getattr(self, item)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue