File size: 2,419 Bytes
09a1836
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{% 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 %}