{% extends "base.jinja" %}
{% from 'snippets/inventory.jinja' import inventory with context %}

{% block content %}
<article>

    <section template-type="spread-left">
        <header>
            <h1>{{page['title']}}</h1>
            <h5>Also known as {{page['alsoKnownAs']}}</h5>
        </header>

        {% if page['image'] %}<img src="{{ page['image'] }}" alt="" />{% endif %}

        <dl>
            <dt>Material</dt>
            <dd>{{page['material']}}</dd>
            <dt>Usage</dt>
            <dd>{{page['usage']}}</dd>
            <dt>Typically found in</dt>
            <dd>{{page['whereToFind']}}</dd>
            <dt>Schematic symbol</dt>
            <dd><img src="{{page['schematicSymbol']}}" /></dd>
        </dl>
    </section>

    <section template-type="spread-right">
        {{inventory("type", (page.type.capitalize() | slugify)) }}
        {{ page['body'] | shortcode }}
    </section>
</article>


{% endblock %} {% block aside %} {% endblock %}