File size: 938 Bytes
3ba647a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | {% extends "base.html" %}
{% block title %}{{ heading }} - Apple{% endblock %}
{% block content %}
<div class="wrap">
{% if crumbs %}
<nav class="crumbs" aria-label="Breadcrumb">
{% for crumb in crumbs %}
{% if crumb.href %}<a href="{{ crumb.href }}">{{ crumb.label }}</a>{% else %}<span>{{ crumb.label }}</span>{% endif %}
{% if not loop.last %} › {% endif %}
{% endfor %}
</nav>
{% endif %}
<div class="listing-head">
<h1>{{ heading }}</h1>
{% if lead %}<p>{{ lead }}</p>{% endif %}
</div>
{% if links %}
<ul class="product-grid">
{% for link in links %}
<li class="product-card">
<a class="name" href="{{ link.href }}">{{ link.label }}</a>
{% if link.note %}<span class="price">{{ link.note }}</span>{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
{% if body %}<div class="accordion"><div class="body">{{ body }}</div></div>{% endif %}
</div>
{% endblock %}
|