[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [donate-static/master] Create new layout.html template
commit 796bca69392e5b0821d8cae892dce531412f3359
Author: kez <kez@xxxxxxxxxxxxxx>
Date: Tue Jun 22 10:06:37 2021 -0400
Create new layout.html template
---
templates/layout.html | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/templates/layout.html b/templates/layout.html
index f83df290..b0163d4e 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -1,16 +1,14 @@
{% include 'meta.html' %}
+<body>
<div class="page pt-4">
{% include 'header.html' %}
<div class="container-fluid">
<div class="row flex-xl-nowrap">
{% set locale = bag('alternatives', this.alt) %}
<main role="main" class="mx-auto col-12 {{ locale.order }} {{ locale.direction }}">
- {% if this.section_id != 'donate' %}
- <div class="container py-3 mt-5 content">
- {{ this.body }}
- </div>
- {% endif %}
- {% include this.html %}
+ {% if this.section_id != 'donate' %}<div class="container py-3 mt-5 content">{% endif %}
+ {% block content %}{% endblock %}
+ {% if this.section_id != 'donate' %}</div>{% endif %}
</main>
</div>
</div>
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits