Open gregersn opened 8 years ago
If the template is a common organization, you could envisage to build content from multiple content, perhaps organized in a directory and following a specific naming convention. And perhaps using a None
layout to indicate content that doesn't need to be on page on its own.
Hi,
I am trying to lay out some content from markdown in a template using multiple blocks.
First I just tried using the {% block foo %}something{% endblock %}, but that obviously didn't work, and then I tried putting it in a property with a name in the "header" for the markdown file, which worked better. But, since the content I was using also needed to use a jinja filter, it didn't turn out the way I wanted it, cause that doesn't seem to be parsed for those parts of the markdown file.
Is there a way to do this properly?