Skip to content
Snippets Groups Projects
Commit d5d989af authored by chrissi^'s avatar chrissi^
Browse files

Fix: content_title vs. title Mixup for Filters


Signed-off-by: default avatarChris Fiege <chris@tinyhost.de>
parent 413f0f09
No related branches found
No related tags found
No related merge requests found
class Title:
def contents_parsed(self, context):
for content in context.contents:
if content["content_title"] is not None and content["title"] is None:
content["title"] = content["content_title"]
elif content["title"] is not None and content["content_title"] is None:
content["content_title"] = content["title"]
......@@ -6,6 +6,7 @@ PLUGINS = [
'flamingo.plugins.rstBootstrap3',
'flamingo.plugins.rstFile',
'flamingo.plugins.rstPygments',
'plugins/title.py::Title',
]
LAYERS = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment