mirror of
https://github.com/torproject/community.git
synced 2025-02-17 00:18:11 +00:00
Rename digital-safety-guides/digital-privacy-guides to digital-security-guides
This commit is contained in:
parent
78ae6bb781
commit
890a983676
@ -1,25 +0,0 @@
|
||||
_model: community-resources
|
||||
---
|
||||
section: Digital Privacy Guides
|
||||
---
|
||||
section_id: digital-privacy-guides
|
||||
---
|
||||
color: primary
|
||||
---
|
||||
_template: layout.html
|
||||
---
|
||||
title: Digital Privacy Guides
|
||||
---
|
||||
subtitle: Do you teach your community about using Tor? These resources are for you.
|
||||
---
|
||||
cta: Check out our resources
|
||||
---
|
||||
key: 3
|
||||
---
|
||||
html: community-resources.html
|
||||
---
|
||||
body:
|
||||
|
||||
Our Community team delivers digital security training about Tor to human rights defenders, journalists, activists and marginalized communities around the world.
|
||||
To request a Tor training for your organization or community, please contact us and send an email to [training at torproject.org](mailto:training@torproject.org).
|
||||
Or, if you want to teach your community about Tor, these training materials are for you!
|
23
content/training/digital-security-guides/contents.lr
Normal file
23
content/training/digital-security-guides/contents.lr
Normal file
@ -0,0 +1,23 @@
|
||||
_model: community-resources
|
||||
---
|
||||
section: Digital Security Guides
|
||||
---
|
||||
section_id: digital-security-guides
|
||||
---
|
||||
color: primary
|
||||
---
|
||||
_template: layout.html
|
||||
---
|
||||
title: Digital Security Guides
|
||||
---
|
||||
subtitle: A set of short guides on topics related to Tor and digital security more broadly, to share during trainings or for personal learning.
|
||||
---
|
||||
cta: Check out our resources
|
||||
---
|
||||
key: 3
|
||||
---
|
||||
html: community-resources.html
|
||||
---
|
||||
body:
|
||||
|
||||
These guides are explainers on topics related to Tor and digital security more broadly including: Web fingerprinting, Internet censorship, Tails, metadata security, and more! You can make use of these guides for self-learning or during trainings as reading resources. For training material, please visit: https://community.torproject.org/training/resources/
|
@ -162,7 +162,7 @@ class CommunityGeneratorPlugin(Plugin):
|
||||
with open(os.path.join(self.env.project.tree, 'databags', 'community-training-materials.json'), 'r') as f:
|
||||
training_resources = json.load(f)
|
||||
|
||||
with open(os.path.join(self.env.project.tree, 'databags', 'digital-safety-guides.json'), 'r') as f:
|
||||
with open(os.path.join(self.env.project.tree, 'databags', 'digital-security-guides.json'), 'r') as f:
|
||||
safety_guide_resources = json.load(f)
|
||||
|
||||
training_topics = self._get_resource_topics(training_resources)
|
||||
@ -175,7 +175,7 @@ class CommunityGeneratorPlugin(Plugin):
|
||||
|
||||
self._generate_files(os.path.join('training', 'resources', 'sortby'), training_topics,
|
||||
training_languages, training_authors, training_resources)
|
||||
self._generate_files(os.path.join('training', 'digital-privacy-guides', 'sortby'),
|
||||
self._generate_files(os.path.join('training', 'digital-security-guides', 'sortby'),
|
||||
safety_topics, safety_languages, safety_authors, safety_guide_resources)
|
||||
|
||||
def _generate_files(self, sortby_root, topics, languages, authors, resources):
|
||||
|
@ -9,7 +9,7 @@
|
||||
{% if this == site.get('/training/resources') %}
|
||||
{{ resource_list(bag('community-training-materials'), bag('community-training-materials'), this) }}
|
||||
{% else %}
|
||||
{{ resource_list(bag('digital-safety-guides'), bag('digital-safety-guides'), this) }}
|
||||
{{ resource_list(bag('digital-security-guides'), bag('digital-security-guides'), this) }}
|
||||
{% endif %}
|
||||
</div>
|
||||
<hr class="my-5">
|
||||
|
@ -26,8 +26,8 @@
|
||||
<a class="d-block onclick-setTopic" data-topic="none" href="{{ get_new_link(this, new_topic='none') }}">{{ _('(None)') }}</a>
|
||||
{% if this == site.get('/training/resources') %}
|
||||
{% set sortby_resources = bag('community-training-materials') %}
|
||||
{% elif this == site.get('/training/digital-privacy-guides') %}
|
||||
{% set sortby_resources = bag('digital-safety-guides') %}
|
||||
{% elif this == site.get('/training/digital-security-guides') %}
|
||||
{% set sortby_resources = bag('digital-security-guides') %}
|
||||
{% else %}
|
||||
{% set sortby_resources = this.sortby_resources %}
|
||||
{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user