mirror of
https://github.com/torproject/lego.git
synced 2025-02-21 10:41:33 +00:00
46 lines
1.7 KiB
HTML
46 lines
1.7 KiB
HTML
{% if this.color == 'primary' %}
|
|
<div class="container-fluid bg-primary">
|
|
{% else %}
|
|
<div class="container-fluid bg-dark">
|
|
{% 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 bg-dark 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 }}" class="donate-header-image" />
|
|
</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 %}
|