[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [community/master] Not all pages are hidden
commit b2df2aa3ca13e86af733e8b1c4257df83e8a8415
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date: Mon Oct 21 18:16:26 2019 +0200
Not all pages are hidden
---
content/user-research/become-tester/contents.lr | 2 ++
templates/user-research.html | 8 ++++++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/content/user-research/become-tester/contents.lr b/content/user-research/become-tester/contents.lr
index 7025245..5dfa354 100644
--- a/content/user-research/become-tester/contents.lr
+++ b/content/user-research/become-tester/contents.lr
@@ -8,6 +8,8 @@ subtitle: We regularly release Tor Browser Alpha versions to allow users to test
---
key: 1
---
+_hidden: yes
+---
_template: layout.html
---
html: two-columns-page.html
diff --git a/templates/user-research.html b/templates/user-research.html
index e12fa62..9f29641 100644
--- a/templates/user-research.html
+++ b/templates/user-research.html
@@ -8,13 +8,17 @@
</div>
</div>
<div class="row">
- {% for child in this.children|sort(attribute='key') %}
+ {% for child in site.query(this.path).include_undiscoverable(true)|sort(attribute='key') %}
<div class="col-sm-6 col-md-6 col-sm-12 col-xl-6 py-3">
<div class="card h-100">
<div class="card-body">
<div class="card-body">
<h4 class="card-title text-primary">
- <a href="{{ child.path|url(alt=this.alt) }}">{{ _(child.title) }}</a>
+ {% if child.title == "Become a Tester" %}
+ <a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-qa">{{ _(child.title) }}</a>
+ {% else %}
+ <a href="{{ child.path|url(alt=this.alt) }}">{{ _(child.title) }}</a>
+ {% endif %}
</h4>
<p class="card-text">{{ _(child.subtitle) }}</p>
</div>
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits