Split All Services into Individual Pages #807

Merged
jonah merged 17 commits from split-pages into master 2019-04-02 00:42:35 +00:00
5 changed files with 72 additions and 75 deletions
Showing only changes of commit 8e24990eac - Show all commits

46
_includes/head.html Normal file
View File

@ -0,0 +1,46 @@
<head>
<meta charset="utf-8">
<meta name="referrer" content="no-referrer">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="privacy, anonymity, privacy tools, surveillance, encryption, edward snowden, nsa, tor">
<meta name="description" content="{{ site.description }}">
<meta name="msapplication-TileColor" content="#da532c">
<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">
<meta property="og:title" content="Privacy Tools | Encryption against global mass surveillance" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.privacytools.io/" />
<meta property="og:image" content="https://www.privacytools.io/assets/img/layout/ogimage.jpg" />
<meta property="og:description" content="You are being watched! Knowledge, encryption and privacy tools to protect you against global mass surveillance."/>
<meta property="og:locale" content="en_US" />
<meta property="og:site_name" content="privacytools.io" />
<!-- title -->
{% if page.title %}
<title>{{ page.title }} | {{ site.title }} </title>
{% else %}
<title>{{ site.title }}</title>
{% endif %}
<!-- icons -->
<link rel="apple-touch-icon" sizes="57x57" href="/assets/img/favicons/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/assets/img/favicons/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/assets/img/favicons/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/assets/img/favicons/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/assets/img/favicons/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/assets/img/favicons/apple-touch-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/assets/img/favicons/apple-touch-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/assets/img/favicons/apple-touch-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/assets/img/favicons/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="/assets/img/favicons/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/assets/img/favicons/android-chrome-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="/assets/img/favicons/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="/assets/img/favicons/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/assets/img/favicons/manifest.json">
<link rel="shortcut icon" href="/assets/img/favicons/favicon.ico">
<!-- CSS stylesheets -->
<link href="/assets/css/style.css?v=5" rel="stylesheet">
</head>

View File

@ -1,60 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="referrer" content="no-referrer">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="privacy, anonymity, privacy tools, surveillance, encryption, edward snowden, nsa, tor">
<meta name="description" content="{{ site.description }}">
<meta name="msapplication-TileColor" content="#da532c">
<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">
<meta property="og:title" content="Privacy Tools | Encryption against global mass surveillance" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.privacytools.io/" />
<meta property="og:image" content="https://www.privacytools.io/assets/img/layout/ogimage.jpg" />
<meta property="og:description" content="You are being watched! Knowledge, encryption and privacy tools to protect you against global mass surveillance."/>
<meta property="og:locale" content="en_US" />
<meta property="og:site_name" content="privacytools.io" />
<!-- title -->
{% if page.title %}
<title>{{ page.title }} | {{ site.title }} </title>
{% else %}
<title>{{ site.title }}</title>
{% endif %}
<!-- icons -->
<link rel="apple-touch-icon" sizes="57x57" href="/assets/img/favicons/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/assets/img/favicons/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/assets/img/favicons/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/assets/img/favicons/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/assets/img/favicons/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/assets/img/favicons/apple-touch-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/assets/img/favicons/apple-touch-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/assets/img/favicons/apple-touch-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/assets/img/favicons/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="/assets/img/favicons/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/assets/img/favicons/android-chrome-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="/assets/img/favicons/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="/assets/img/favicons/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/assets/img/favicons/manifest.json">
<link rel="shortcut icon" href="/assets/img/favicons/favicon.ico">
<!-- CSS stylesheets -->
<link href="/assets/css/style.css?v=5" rel="stylesheet">
</head>
<body data-spy="scroll" data-target="#navbar">
{% include nav.html %}
<div id="top" class="py-4"></div>
{% include head.html %}
<body data-spy="scroll" data-target="#navbar">
<header>
{% include nav.html %}
<div id="top" class="py-4"></div>
</header>
<div class="container" role="main">
<main>
{{ content }}
</main>
<footer>
{% include footer.html %}
</footer>
</div>
{% include scripts.html %}
</body>
{% include scripts.html %}
</body>
</html>

View File

@ -1,24 +1,15 @@
---
layout: default
---
<div class="container" role="main">
<script>
if (window.location == 'http://localhost:4000/#vpn-test') {
window.location = 'http://localhost:4000/donate.html';
}
</script>
<script>
if (window.location == 'http://localhost:4000/#vpn-test') {
window.location = 'http://localhost:4000/donate.html';
}
</script>
{% include sections/header.html %}
{% include sections/quotes.html %}
{% include sections/warrant-canary.html %}
{% include sections/privacy-resources.html %}
{% include sections/participate.html %}
{% include sections/footer.html %}
</div>
{% include sections/header.html %}
{% include sections/quotes.html %}
{% include sections/warrant-canary.html %}
{% include sections/privacy-resources.html %}
{% include sections/participate.html %}

View File

@ -90,6 +90,6 @@ active_page: privacy_policy
<br /><hr /><br />
{% include sections/footer.html %}
{% include footer.html %}
</div>