[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tpo/master] Add TBB recommended versions
commit 782582f1715a65808de8e303cba07eb4f54efbd1
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date: Wed Feb 20 15:59:03 2019 +0100
Add TBB recommended versions
---
content/projects/contents.lr | 5 +++++
.../torbrowser/RecommendedTBBVersions/contents.lr | 16 ++++++++++++++++
content/projects/torbrowser/contents.lr | 5 +++++
models/text.ini | 7 +++++++
templates/empty.html | 7 +++----
5 files changed, 36 insertions(+), 4 deletions(-)
diff --git a/content/projects/contents.lr b/content/projects/contents.lr
new file mode 100644
index 0000000..795e5e8
--- /dev/null
+++ b/content/projects/contents.lr
@@ -0,0 +1,5 @@
+_model: text
+---
+_template: empty.html
+---
+body:
diff --git a/content/projects/torbrowser/RecommendedTBBVersions/contents.lr b/content/projects/torbrowser/RecommendedTBBVersions/contents.lr
new file mode 100644
index 0000000..14834b2
--- /dev/null
+++ b/content/projects/torbrowser/RecommendedTBBVersions/contents.lr
@@ -0,0 +1,16 @@
+_model: text
+---
+_template: empty.html
+---
+body:
+
+[
+"8.0.6",
+"8.0.6-MacOS",
+"8.0.6-Linux",
+"8.0.6-Windows",
+"8.5a8",
+"8.5a8-MacOS",
+"8.5a8-Linux",
+"8.5a8-Windows"
+]
diff --git a/content/projects/torbrowser/contents.lr b/content/projects/torbrowser/contents.lr
new file mode 100644
index 0000000..795e5e8
--- /dev/null
+++ b/content/projects/torbrowser/contents.lr
@@ -0,0 +1,5 @@
+_model: text
+---
+_template: empty.html
+---
+body:
diff --git a/models/text.ini b/models/text.ini
new file mode 100644
index 0000000..75e24ba
--- /dev/null
+++ b/models/text.ini
@@ -0,0 +1,7 @@
+[model]
+name = Text
+label = Text
+
+[fields.body]
+label = Body
+type = text
diff --git a/templates/empty.html b/templates/empty.html
index eb65935..e37c38b 100644
--- a/templates/empty.html
+++ b/templates/empty.html
@@ -1,4 +1,3 @@
-<!doctype html>
-<html lang="en">
- {% block body %}{% endblock %}
-</html>
+{% block body %}
+ {{ this.body }}
+{% endblock %}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits