mirror of
https://github.com/torproject/lego.git
synced 2025-02-21 10:41:33 +00:00
48 lines
2.0 KiB
HTML
48 lines
2.0 KiB
HTML
{% if this.color == 'primary' %}
|
|
<div class="container-fluid bg-primary">
|
|
{% else %}
|
|
<div class="container-fluid {% if this.header_color %} bg-{{ this.header_color }} {% else %} bg-dark {% endif %}">
|
|
{% endif %}
|
|
<div class="row flex-xl-nowrap {{ bag('alternatives', this.alt, 'order') }}">
|
|
{% if this.color == 'primary' %}
|
|
<div class="container bg-primary pt-5">
|
|
{% else %}
|
|
<div class="container {% if this.header_color %} bg-{{ this.header_color }} {% else %} bg-dark {% endif %}git pt-5">
|
|
{% endif %}
|
|
<div class="row">
|
|
{% if this.html == 'donate-form.html' and this.header_image|length %}
|
|
<div class="col-12 content-center pt-5 donate-has-image">
|
|
<div class="row pb-5">
|
|
<h2 class="mx-auto display-3 text-white text-capitalize donate-title">{{ this.title }}</h2>
|
|
<img src="{{ this.header_image | asseturl }}" class="donate-header-image" />
|
|
{% set header_mobile = this.header_image + "-mobile" %}
|
|
<img src="{{ header_mobile | asseturl }}" class="donate-header-image-mobile" />
|
|
</div>
|
|
</div>
|
|
{% else %}
|
|
<div class="col-12 content-center pt-5">
|
|
<div class="row">
|
|
<h6 class="mx-auto text-white text-capitalize">{% block section %}{{ this.section }}{% endblock %}</h6>
|
|
</div>
|
|
<div class="row pb-5">
|
|
<h2 class="mx-auto display-3 text-white text-capitalize">{% block title %}{{ this.title }}{% endblock %}</h2>
|
|
</div>
|
|
{% if this.header_description_alignment == 'center' %}
|
|
<div class="row text-center header-description">
|
|
{% elif this.header_description_alignment == 'right' %}
|
|
<div class="row text-right header-description">
|
|
{% else %}
|
|
<div class="row header-description">
|
|
{% endif %}
|
|
{{ this.header_description }}
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% if this.section_id == 'about' %}
|
|
{% include 'pagenav.html' %}
|
|
{% endif %}
|