Add production_url variable

This commit is contained in:
Jonah 2019-11-08 21:06:02 -06:00
parent 430a2ccdfc
commit 7207511b64
6 changed files with 20 additions and 18 deletions

View File

@ -2,6 +2,7 @@ title: PrivacyTools - Encryption Against Global Mass Surveillance
name: PrivacyTools
description: You are being watched. PrivacyTools provides knowledge, encryption, and software recommendations to protect you against global mass surveillance.
url: "https://www.privacytools.io"
production_url: "https://www.privacytools.io"
sass:
style: compressed
plugins:

View File

@ -6,36 +6,36 @@
<div class="row mb-4">
<div class="col-12 col-md-6 d-flex justify-content-between">
<a href="mailto:?subject=privacytools.io%20-%20encryption%20against%20global%20mass%20surveillance&body=https://www.privacytools.io/" class="share-btn email" title="Email">
<a href="mailto:?subject=privacytools.io%20-%20encryption%20against%20global%20mass%20surveillance&body={{ site.production_url }}/" class="share-btn email" title="Email">
<i class="fas fa-envelope pl-3"></i>
</a>
<a href="https://www.facebook.com/sharer/sharer.php?u=https://www.privacytools.io" class="share-btn facebook" title="Facebook">
<a href="https://www.facebook.com/sharer/sharer.php?u={{ site.production_url }}" class="share-btn facebook" title="Facebook">
<i class="fab fa-facebook-f pl-3"></i>
</a>
<a href="https://twitter.com/share?text=Knowledge%20and%20tools%20to%20protect%20your%20privacy%20against%20global%20mass%20surveillance%20&amp;url=https://www.privacytools.io/&amp;via=privacytoolsIO" class="share-btn twitter" title="Twitter">
<a href="https://twitter.com/share?text=Knowledge%20and%20tools%20to%20protect%20your%20privacy%20against%20global%20mass%20surveillance%20&amp;url={{ site.production_url }}/&amp;via=privacytoolsIO" class="share-btn twitter" title="Twitter">
<i class="fab fa-twitter pl-3"></i>
</a>
<a href="https://sharetomastodon.github.io/?title=privacytools.io%20-%20encryption%20against%20global%20mass%20surveillance&url=https://www.privacytools.io" class="share-btn mastodon" title="Mastodon">
<a href="https://sharetomastodon.github.io/?title=privacytools.io%20-%20encryption%20against%20global%20mass%20surveillance&url={{ site.production_url }}" class="share-btn mastodon" title="Mastodon">
<i class="fab fa-mastodon pl-3"></i>
</a>
</div>
<div class="col-12 col-md-6 d-flex justify-content-between">
<a href="https://reddit.com/submit?url=https://www.privacytools.io&title=privacytools.io%20-%20encryption%20against%20global%20mass%20surveillance" class="share-btn reddit" title="reddit">
<a href="https://reddit.com/submit?url={{ site.production_url }}&title=privacytools.io%20-%20encryption%20against%20global%20mass%20surveillance" class="share-btn reddit" title="reddit">
<i class="fab fa-reddit-alien pl-3"></i>
</a>
<a href="https://www.linkedin.com/shareArticle?url=https://www.privacytools.io&title=privacytools.io%20-%20encryption%20against%20global%20mass%20surveillance" class="share-btn linkedin" title="LinkedIn">
<a href="https://www.linkedin.com/shareArticle?url={{ site.production_url }}&title=privacytools.io%20-%20encryption%20against%20global%20mass%20surveillance" class="share-btn linkedin" title="LinkedIn">
<i class="fab fa-linkedin-in pl-3"></i>
</a>
<a href="https://mix.com/mixit?su=submit&url=https://www.privacytools.io&title=privacytools.io%20-%20encryption%20against%20global%20mass%20surveillance" class="share-btn mix" title="Mix">
<a href="https://mix.com/mixit?su=submit&url={{ site.production_url }}&title=privacytools.io%20-%20encryption%20against%20global%20mass%20surveillance" class="share-btn mix" title="Mix">
<i class="ptio-mix pl-3"></i>
</a>
<a href="https://sharetodiaspora.github.io/?title=privacytools.io%20-%20encryption%20against%20global%20mass%20surveillance&url=https://www.privacytools.io" class="share-btn diaspora" title="Diaspora*">
<a href="https://sharetodiaspora.github.io/?title=privacytools.io%20-%20encryption%20against%20global%20mass%20surveillance&url={{ site.production_url }}" class="share-btn diaspora" title="Diaspora*">
<i class="fas fa-asterisk pl-3"></i>
</a>
</div>
@ -44,7 +44,7 @@
<h3>Copy URL and Description</h3>
<p>
<input type="text" value="{{ site.name }} - Encryption and tools to protect against global mass surveillance - https://www.privacytools.io" class="form-control input-lg onclick-select">
<input type="text" value="{{ site.name }} - Encryption and tools to protect against global mass surveillance - {{ site.production_url }}" class="form-control input-lg onclick-select">
<span class="help-block">For easy copy and paste. Share this text snippet.</span>
</p>

View File

@ -9,6 +9,7 @@
<meta name="msapplication-TileImage" content="/assets/img/favicons/mstile-144x144.png">
<meta name="msapplication-config" content="/assets/img/favicons/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<link rel="canonical" href="{{ site.production_url }}{{ page.url | replace:'index.html',''}}">
<!-- title -->
{% if page.title %}
@ -20,7 +21,7 @@
{% endif %}
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ page.permalink | prepend: site.url }}" />
<meta property="og:image" content="https://www.privacytools.io/assets/img/layout/ogimage.jpg" />
<meta property="og:image" content="{{ site.production_url }}/assets/img/layout/ogimage.jpg" />
<meta property="og:description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}"/>
<meta property="og:locale" content="en_GB" />
<meta property="og:site_name" content="{{ site.name }}" />
@ -37,8 +38,8 @@
"Privacy Tools",
"privacytoolsIO"
],
"url": "https://www.privacytools.io",
"logo": "https://www.privacytools.io/assets/img/layout/logo.png",
"url": "{{ site.production_url }}",
"logo": "{{ site.production_url }}/assets/img/layout/logo.png",
"sameAs": [
"https://blog.privacytools.io",
"https://twitter.com/privacytoolsIO",

View File

@ -3,7 +3,7 @@
</div>
<div class="jumbotron p-5">
<h1 class="display-4"><a href="https://www.privacytools.io/" title="{{ site.name }}"><img src="/assets/img/layout/logo.png" width="600" height="88" class="img-fluid" alt="{{ site.name }}"></a></h1>
<h1 class="display-4"><a href="{{ site.production_url }}" title="{{ site.name }}"><img src="/assets/img/layout/logo.png" width="600" height="88" class="img-fluid" alt="{{ site.name }}"></a></h1>
<p class="lead">You are being watched. Private and state-sponsored organizations are monitoring and recording your online activities. {{ site.name }} provides services, tools and knowledge to protect your privacy against global mass surveillance.</p>
</div>

View File

@ -7,7 +7,7 @@ permalink: /donate/
<div class="row">
<div class="mx-auto text-center">
<div class="mt-4 mb-4">
<a href="https://www.privacytools.io/"><img src="/assets/img/layout/logo.png" class="img-fluid" alt="{{ site.name }}"></a>
<a href="{{ site.production_url }}"><img src="/assets/img/layout/logo.png" class="img-fluid" alt="{{ site.name }}"></a>
</div>
<div class="card border-success mt-5 mb-5">

View File

@ -1,13 +1,13 @@
---
layout: page
permalink: /privacy/
title: "Privacy Q&A"
title: "Privacy Q&amp;A"
description: "This Privacy Statement explains what information PrivacyTools and its related entities collect about its users, what we do with that information, and how we handle the content you place in our products and services."
---
## Who is {{ site.name }}?
{{ site.name }} is an unincorporated community developing this website and a number of privacy-friendly services. The current list of public team members [can be found on GitHub](https://github.com/orgs/privacytoolsIO/people). In order to operate these services, {{ site.name }} receives hosting and administration services from Aragon Ventures LLC, which also collects payments and donations on the {{ site.name }} team's behalf.
{{ site.name }} is an unincorporated community developing this website and a number of privacy-friendly services. The current list of public team members [can be found on GitHub](https://github.com/orgs/privacytoolsIO/people). In order to operate these services, {{ site.name }} receives hosting and administration services from Aragon Ventures LLC.
## How does {{ site.name }} collect data about me?
@ -110,7 +110,7 @@ Anoka, MN 55303
United States
```
For all other inquiries, you can contact the team via methods described on our [contact page](https://www.privacytools.io/contact/).
For all other inquiries, you can contact the team via methods described on our [contact page]({{ site.production_url }}/contact/).
For complaints under GDPR more generally, European Union users may lodge complaints with their local data protection supervisory authorities.
@ -118,6 +118,6 @@ For complaints under GDPR more generally, European Union users may lodge complai
This version of our privacy statement took effect October 9th, 2019.
We will post any new versions of this statement at [https://www.privacytools.io/privacy/](https://www.privacytools.io/privacy/). We may change how we announce changes in future versions of this document. In the meantime we may update our contact information at any time without announcing a change. Please refer to [https://www.privacytools.io/privacy/](https://www.privacytools.io/privacy/) for the latest contact information at any time.
We will post any new versions of this statement at [{{ site.production_url }}/privacy/]({{ site.production_url }}/privacy/). We may change how we announce changes in future versions of this document. In the meantime we may update our contact information at any time without announcing a change. Please refer to [{{ site.production_url }}/privacy/]({{ site.production_url }}/privacy/) for the latest contact information at any time.
A full [revision history](https://github.com/privacytoolsIO/privacytools.io/commits/master/pages/privacy.md) for this page can be found on GitHub.