[tor-commits] [community/staging] Update templates
hiro at torproject.org
hiro at torproject.org
Fri Mar 15 14:19:59 UTC 2019
commit c38d920c1224cc9d2e52650d8c3006a0119ea74e
Author: hiro <hiro at torproject.org>
Date: Fri Mar 15 15:19:29 2019 +0100
Update templates
---
templates/hero.html | 14 +++++++++++++-
templates/localization.html | 0
templates/onion-services.html | 0
templates/outreach.html | 0
templates/relay-operations.html | 0
templates/training.html | 0
templates/user-testing.html | 0
7 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/templates/hero.html b/templates/hero.html
index 8a10350..bba42ae 100644
--- a/templates/hero.html
+++ b/templates/hero.html
@@ -1,7 +1,19 @@
<div class="container bg-{{ this.color }} pt-5">
<div class="row">
<div class="col-12 content-center pt-5">
- {% include 'hero-' + this.html %}
+ <div class="row">
+ <div class="col-12 content-center pt-5">
+ <div class="row">
+ <h6 class="mx-auto text-white text-uppercase">{% block section %}{{ this.section }}{% endblock %}</h6>
+ </div>
+ <div class="row pb-5">
+ <h2 class="mx-auto display-4 text-white text-capitalize">{% block title %}{{ this.title }}{% endblock %}</h2>
+ </div>
+ <div class="row pb-5">
+ <h4 class="mx-auto text-white">{% block subtitle %}{{ this.subtitle }}{% endblock %}</h4>
+ </div>
+ </div>
+ </div>
</div>
</div>
</div>
diff --git a/templates/localization.html b/templates/localization.html
new file mode 100644
index 0000000..e69de29
diff --git a/templates/onion-services.html b/templates/onion-services.html
new file mode 100644
index 0000000..e69de29
diff --git a/templates/outreach.html b/templates/outreach.html
new file mode 100644
index 0000000..e69de29
diff --git a/templates/relay-operations.html b/templates/relay-operations.html
new file mode 100644
index 0000000..e69de29
diff --git a/templates/training.html b/templates/training.html
new file mode 100644
index 0000000..e69de29
diff --git a/templates/user-testing.html b/templates/user-testing.html
new file mode 100644
index 0000000..e69de29
More information about the tor-commits
mailing list