AgPerry's picture
Add files using upload-large-folder tool
09a1836 verified
Raw History Blame Contribute Delete
2.42 kB
{% extends "base.html" %}
{% block title %}{{ category.name }}{% endblock %}
{% block content %}
{#
Editorial lander (Outdoor Experiences, Explore L.L.Bean). Section order, copy
and tiles reproduce the source page. Tiles whose only destination is external
are rendered as non-interactive content so the page keeps its real content
without a dead link or an outbound control.
#}
<div class="LanderPage_main">
<nav class="Breadcrumb_container" aria-label="Breadcrumbs">
<a href="/">L.L.Bean</a><span class="Breadcrumb_sep">/</span><span>{{ category.name }}</span>
</nav>
<h1 class="LanderPage_title">{{ category.name }}</h1>
{% if intro %}<p class="LanderPage_intro">{{ intro }}</p>{% endif %}
{% for section in lander.sections %}
<section class="LanderPage_section">
{% if section.heading %}
<h2 class="LanderPage_section-heading">
{% if section.view_all_cat_id %}
<a href="/llb/shop/{{ section.view_all_cat_id }}{% if section.view_all_slug %}?page={{ section.view_all_slug }}{% endif %}">{{ section.heading }}</a>
{% else %}{{ section.heading }}{% endif %}
</h2>
{% endif %}
{% if section.prose %}<p class="LanderPage_prose">{{ section.prose }}</p>{% endif %}
{% if section.tiles %}
<ul class="LanderPage_tiles">
{% for item in section.tiles %}
<li class="LanderPage_tile{% if item.external %} LanderPage_tile--static{% endif %}">
{% if item.external %}
<div class="LanderPage_tile-body">
{% if item.asset %}<img src="{{ item.asset }}" width="380" height="253" alt="{{ item.alt or item.label }}" loading="lazy">{% endif %}
<span class="LanderPage_tile-label">{{ item.label }}</span>
{% if item.blurb %}<span class="LanderPage_tile-blurb">{{ item.blurb }}</span>{% endif %}
</div>
{% else %}
<a class="LanderPage_tile-body" href="/llb/shop/{{ item.cat_id }}{% if item.slug %}?page={{ item.slug }}{% endif %}">
{% if item.asset %}<img src="{{ item.asset }}" width="380" height="253" alt="{{ item.alt or item.label }}" loading="lazy">{% endif %}
<span class="LanderPage_tile-label">{{ item.label }}</span>
{% if item.blurb %}<span class="LanderPage_tile-blurb">{{ item.blurb }}</span>{% endif %}
</a>
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
</section>
{% endfor %}
</div>
{% endblock %}