Commit d5d989af authored by chrissi^'s avatar chrissi^

Fix: content_title vs. title Mixup for Filters

Signed-off-by: chrissi^'s avatarChris Fiege <chris@tinyhost.de>
parent 413f0f09
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 = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment