Hugoify Theme

This commit is contained in:
Sarah Jamie Lewis 2020-12-10 14:43:39 -08:00
parent bb87f96d7a
commit 0d5cade73b
59 changed files with 245 additions and 60 deletions

7
config.toml Normal file
View File

@ -0,0 +1,7 @@
baseURL = "https://cwtch.im"
languageCode = "en-ca"
title = "Cwtch"
theme = "cwtch"
[markup.goldmark.renderer]
unsafe= true

4
content/app/ui/index.md Normal file
View File

@ -0,0 +1,4 @@
---
---
<meta name="go-import" content="cwtch.im/ui git https://git.openprivacy.ca/cwtch.im/ui">
<meta name="go-source" content="cwtch.im/ui https://git.openprivacy.ca/cwtch.im/ui https://git.openprivacy.ca/cwtch.im/ui/src/master{/dir} https://git.openprivacy.ca/cwtch.im/ui/raw/master{/dir}/{file}#L{line}">

5
content/cwtch.md Normal file
View File

@ -0,0 +1,5 @@
---
---
<meta name="go-import" content="cwtch.im/cwtch git https://git.openprivacy.ca/cwtch.im/cwtch">
<meta name="go-source" content="cwtch.im/cwtch https://git.openprivacy.ca/cwtch.im/cwtch https://git.openprivacy.ca/cwtch.im/cwtch/src/master{/dir} https://git.openprivacy.ca/cwtch.im/cwtch/raw/master{/dir}/{file}#L{line}">

BIN
content/cwtch.pdf Normal file

Binary file not shown.

View File

@ -0,0 +1,5 @@
---
---
<meta name="go-import" content="cwtch.im/cwtch git https://git.openprivacy.ca/cwtch.im/cwtch">
<meta name="go-source" content="cwtch.im/cwtch https://git.openprivacy.ca/cwtch.im/cwtch https://git.openprivacy.ca/cwtch.im/cwtch/src/master{/dir} https://git.openprivacy.ca/cwtch.im/cwtch/raw/master{/dir}/{file}#L{line}">

View File

@ -0,0 +1,5 @@
---
---
<meta name="go-import" content="cwtch.im/cwtch git https://git.openprivacy.ca/cwtch.im/cwtch">
<meta name="go-source" content="cwtch.im/cwtch https://git.openprivacy.ca/cwtch.im/cwtch https://git.openprivacy.ca/cwtch.im/cwtch/src/master{/dir} https://git.openprivacy.ca/cwtch.im/cwtch/raw/master{/dir}/{file}#L{line}">

View File

@ -0,0 +1,5 @@
---
---
<meta name="go-import" content="cwtch.im/app/ui git https://git.openprivacy.ca/cwtch.im/ui">
<meta name="go-source" content="cwtch.im/app/ui https://git.openprivacy.ca/cwtch.im/ui https://git.openprivacy.ca/cwtch.im/ui/src/master{/dir} https://git.openprivacy.ca/cwtch.im/ui/raw/master{/dir}/{file}#L{line}">

View File

@ -0,0 +1,5 @@
---
---
<meta name="go-import" content="cwtch.im/cwtch git https://git.openprivacy.ca/cwtch.im/cwtch">
<meta name="go-source" content="cwtch.im/cwtch https://git.openprivacy.ca/cwtch.im/cwtch https://git.openprivacy.ca/cwtch.im/cwtch/src/master{/dir} https://git.openprivacy.ca/cwtch.im/cwtch/raw/master{/dir}/{file}#L{line}">

View File

@ -0,0 +1,5 @@
---
---
<meta name="go-import" content="cwtch.im/cwtch git https://git.openprivacy.ca/cwtch.im/cwtch">
<meta name="go-source" content="cwtch.im/cwtch https://git.openprivacy.ca/cwtch.im/cwtch https://git.openprivacy.ca/cwtch.im/cwtch/src/master{/dir} https://git.openprivacy.ca/cwtch.im/cwtch/raw/master{/dir}/{file}#L{line}">

View File

@ -0,0 +1,5 @@
---
---
<meta name="go-import" content="cwtch.im/cwtch git https://git.openprivacy.ca/cwtch.im/cwtch">
<meta name="go-source" content="cwtch.im/cwtch https://git.openprivacy.ca/cwtch.im/cwtch https://git.openprivacy.ca/cwtch.im/cwtch/src/master{/dir} https://git.openprivacy.ca/cwtch.im/cwtch/raw/master{/dir}/{file}#L{line}">

View File

@ -0,0 +1,5 @@
---
---
<meta name="go-import" content="cwtch.im/cwtch git https://git.openprivacy.ca/cwtch.im/cwtch">
<meta name="go-source" content="cwtch.im/cwtch https://git.openprivacy.ca/cwtch.im/cwtch https://git.openprivacy.ca/cwtch.im/cwtch/src/master{/dir} https://git.openprivacy.ca/cwtch.im/cwtch/raw/master{/dir}/{file}#L{line}">

View File

@ -0,0 +1,5 @@
---
---
<meta name="go-import" content="cwtch.im/cwtch git https://git.openprivacy.ca/cwtch.im/cwtch">
<meta name="go-source" content="cwtch.im/cwtch https://git.openprivacy.ca/cwtch.im/cwtch https://git.openprivacy.ca/cwtch.im/cwtch/src/master{/dir} https://git.openprivacy.ca/cwtch.im/cwtch/raw/master{/dir}/{file}#L{line}">

View File

@ -0,0 +1,5 @@
---
---
<meta name="go-import" content="cwtch.im/cwtch git https://git.openprivacy.ca/cwtch.im/cwtch">
<meta name="go-source" content="cwtch.im/cwtch https://git.openprivacy.ca/cwtch.im/cwtch https://git.openprivacy.ca/cwtch.im/cwtch/src/master{/dir} https://git.openprivacy.ca/cwtch.im/cwtch/raw/master{/dir}/{file}#L{line}">

View File

@ -0,0 +1,5 @@
---
---
<meta name="go-import" content="cwtch.im/cwtch git https://git.openprivacy.ca/cwtch.im/cwtch">
<meta name="go-source" content="cwtch.im/cwtch https://git.openprivacy.ca/cwtch.im/cwtch https://git.openprivacy.ca/cwtch.im/cwtch/src/master{/dir} https://git.openprivacy.ca/cwtch.im/cwtch/raw/master{/dir}/{file}#L{line}">

8
content/download.html Normal file
View File

@ -0,0 +1,8 @@
---
title: "Get Cwtch"
date: 2020-12-10T14:07:19-08:00
draft: false
---
We are preparing for a Beta release very soon!

View File

@ -1,4 +1,10 @@
# Privacy Policy
---
title: "Privacy Policy"
date: 2020-12-10T14:07:19-08:00
draft: false
---
Cwtch is a surveillance-resistant application. Cwtch has been designed to be metadata-resistant, that is,
it does not leak information about who you are, what you are doing, or who you are communicating with.

View File

@ -0,0 +1,5 @@
---
---
<meta name="go-import" content="cwtch.im/tapir git https://git.openprivacy.ca/cwtch.im/tapir">
<meta name="go-source" content="cwtch.im/tapir https://git.openprivacy.ca/cwtch.im/tapir https://git.openprivacy.ca/cwtch.im/tapir/src/master{/dir} https://git.openprivacy.ca/cwtch.im/tapir/raw/master{/dir}/{file}#L{line}">

5
content/tapir/index.md Normal file
View File

@ -0,0 +1,5 @@
---
---
<meta name="go-import" content="cwtch.im/tapir git https://git.openprivacy.ca/cwtch.im/tapir">
<meta name="go-source" content="cwtch.im/tapir https://git.openprivacy.ca/cwtch.im/tapir https://git.openprivacy.ca/cwtch.im/tapir/src/master{/dir} https://git.openprivacy.ca/cwtch.im/tapir/raw/master{/dir}/{file}#L{line}">

View File

@ -0,0 +1,5 @@
---
---
<meta name="go-import" content="cwtch.im/tapir git https://git.openprivacy.ca/cwtch.im/tapir">
<meta name="go-source" content="cwtch.im/tapir https://git.openprivacy.ca/cwtch.im/tapir https://git.openprivacy.ca/cwtch.im/tapir/src/master{/dir} https://git.openprivacy.ca/cwtch.im/tapir/raw/master{/dir}/{file}#L{line}">

View File

@ -0,0 +1,5 @@
---
---
<meta name="go-import" content="cwtch.im/tapir git https://git.openprivacy.ca/cwtch.im/tapir">
<meta name="go-source" content="cwtch.im/tapir https://git.openprivacy.ca/cwtch.im/tapir https://git.openprivacy.ca/cwtch.im/tapir/src/master{/dir} https://git.openprivacy.ca/cwtch.im/tapir/raw/master{/dir}/{file}#L{line}">

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

View File

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB

View File

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

View File

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

View File

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

Before

Width:  |  Height:  |  Size: 791 KiB

After

Width:  |  Height:  |  Size: 791 KiB

View File

Before

Width:  |  Height:  |  Size: 540 KiB

After

Width:  |  Height:  |  Size: 540 KiB

View File

Before

Width:  |  Height:  |  Size: 508 KiB

After

Width:  |  Height:  |  Size: 508 KiB

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

20
themes/cwtch/LICENSE Normal file
View File

@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2020 YOUR_NAME_HERE
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -0,0 +1,2 @@
+++
+++

View File

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
<div id="content">
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
</body>
</html>

View File

View File

@ -0,0 +1,9 @@
{{ partial "header.html" . }}
<div class="container">
<h1>{{.Title}}</h1>
{{.Content}}
</div>
{{ partial "footer.html" . }}

View File

@ -1,34 +1,5 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="/favicon.png">
<title>Cwtch: Decentralized Privacy Preserving Infrastructure</title>
<!-- Bootstrap core CSS -->
<link href="/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="css/style.css" rel="stylesheet">
</head>
<body>
<nav class="site-header sticky-top py-1">
<div class="container d-flex flex-column flex-md-row justify-content-between">
<a class="py-2" href="#">
<img src="images/500x500_white.png" height="100px">
</a>
<a class="py-2 d-none d-md-inline-block" href="#how-it-works">HOW IT WORKS</a>
<a class="py-2 d-none d-md-inline-block" href="https://git.openprivacy.ca/cwtch.im/ui">CODE</a>
<a class="py-2 d-none d-md-inline-block" href="#">GET CWTCH</a>
</div>
</nav>
{{ partial "header.html" . }}
<div class="container">
<div class="row text-center justify-content-around">
@ -147,32 +118,4 @@
<hr/>
</div>
<footer class="container py-5">
<div class="row">
<div class="col-12 col-md">
<a href="https://openprivacy.ca"><img src="images/open_privacy_logo.png" alt="Made by Open Privacy Research Society"/></a>
</div>
<div class="col-8 col-md">
<h5>Research</h5>
<ul class="list-unstyled text-small">
<li><a class="text-muted" href="https://docs.openprivacy.ca/cwtch-security-handbook/">Security Handbook</a></li>
<li><a class="text-muted" href="https://openprivacy.ca/research/OPTR2019-01/">Token Based Services</a></li>
</ul>
</div>
<div class="col-6 col-md">
<h5>Developers</h5>
<ul class="list-unstyled text-small">
<li><a class="text-muted" href="#">Code</a></li>
<li><a class="text-muted" href="#">Issues</a></li>
</ul>
</div>
<div class="col-6 col-md">
<h5>Donate</h5>
</div>
</div>
</footer>
</body>
<script src="/js/jquery-3.5.1.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
</html>
{{ partial "footer.html" . }}

View File

@ -0,0 +1,30 @@
<footer class="container py-5">
<div class="row">
<div class="col-12 col-md">
<a href="https://openprivacy.ca"><img src="/images/open_privacy_logo.png" alt="Made by Open Privacy Research Society"/></a>
</div>
<div class="col-8 col-md">
<h5>Research</h5>
<ul class="list-unstyled text-small">
<li><a href="https://docs.openprivacy.ca/cwtch-security-handbook/">Security Handbook</a></li>
<li><a href="https://openprivacy.ca/research/OPTR2019-01/">Token Based Services</a></li>
</ul>
</div>
<div class="col-6 col-md">
<h5>Developers</h5>
<ul class="list-unstyled text-small">
<li><a href="https://git.openprivacy.ca/cwtch/ui">Code</a></li>
<li><a href="https://git.openprivacy.ca/cwtch/issues">Issues</a></li>
</ul>
</div>
<div class="col-6 col-md">
<h5><a href="https://openprivacy.ca/donate">Donate</a></h5>
<h5><a href="/privacy-policy">Privacy Policy</a></h5>
</div>
</div>
</footer>
</body>
<script src="/js/jquery-3.5.1.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
</html>

View File

View File

@ -0,0 +1,31 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Decentralized Privacy Preserving Infrastructure">
<meta name="author" content="Open Privacy Cwtch Team">
<link rel="icon" href="/favicon.png">
<title>Cwtch: Decentralized Privacy Preserving Infrastructure</title>
<!-- Bootstrap core CSS -->
<link href="/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="/css/style.css" rel="stylesheet">
</head>
<body>
<nav class="site-header sticky-top py-1">
<div class="container d-flex flex-column flex-md-row justify-content-between">
<a class="py-2" href="/">
<img src="/images/500x500_white.png" height="100px">
</a>
<a class="py-2 d-none d-md-inline-block" href="/#how-it-works">HOW IT WORKS</a>
<a class="py-2 d-none d-md-inline-block" href="https://git.openprivacy.ca/cwtch.im/ui">CODE</a>
<a class="py-2 d-none d-md-inline-block" href="/download">GET CWTCH</a>
</div>
</nav>

View File

@ -109,6 +109,24 @@ footer {
}
a {
color: #fff;
text-decoration: underline;
}
a:focus {
color: #d20070;
}
a:hover {
color: #d20070;
}
li a {
color: #fff;
text-decoration: underline;
}
.border-top { border-top: 1px solid #e5e5e5; }
.border-bottom { border-bottom: 1px solid #e5e5e5; }

21
themes/cwtch/theme.toml Normal file
View File

@ -0,0 +1,21 @@
# theme.toml template for a Hugo theme
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
name = "Cwtch"
license = "MIT"
licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
description = ""
homepage = "http://example.com/"
tags = []
features = []
min_version = "0.41.0"
[author]
name = ""
homepage = ""
# If porting an existing theme
[original]
name = ""
homepage = ""
repo = ""