{% docstring %} Renders a `section` wrapped in an `
` tag with optional `
`. Markdown from that section will be yielded as the body of the article. Attributes: class: (optional) Adds `class` to `
` style: (optional) Adds `style` to `
` image: (optional) Path to the image to prefix the body of the article with image_class: (optional) class to applyt to the image title: (optional) Will be rendered as `
` title_tag: (defaults to `h2`) which tag to wrap the `title` with inside `
` {% enddocstring %}
{% if section.title %}

{{section.title}}

{% endif %} {% if section.image %} {% with imgcls=section.image_class|default:'' %} {% sourceset section.image class='block-image '|add:imgcls %} {% endwith %} {% endif %} {{yield}}