Skip to content

Commit a1333db

Browse files
committed
First commit
0 parents  commit a1333db

33 files changed

+1538
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "themes/adidoks"]
2+
path = themes/adidoks
3+
url = https://github.com/aaranxu/adidoks.git

config.toml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# The URL the site will be built for
2+
base_url = "https://haskell-cryptography.github.io"
3+
4+
# Whether to automatically compile all Sass files in the sass directory
5+
compile_sass = true
6+
7+
# Whether to do syntax highlighting
8+
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
9+
highlight_code = true
10+
11+
# Whether to build a search index to be used later on by a JavaScript library
12+
build_search_index = true
13+
14+
theme = "adidoks"
15+
16+
title = "Haskell Cryptography Group"
17+
18+
[extra]
19+
# Put all your custom variables here
20+
21+
[[extra.menu.main]]
22+
name = "Projects"
23+
section = "docs"
24+
url = "/projects/"
25+
weight = 10
26+
27+
[[extra.menu.main]]
28+
name = "Blog"
29+
section = "blog"
30+
url = "/blog/"
31+
weight = 20
32+
33+
[[section.extra]]
34+
repo_url = "https://github.com/haskell-cryptography/"

content/_index.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
+++
2+
title = "Haskell Cryptography Group"
3+
4+
# The homepage contents
5+
[extra]
6+
lead = "Our mission is to support open-source maintainers of cryptography projects in Haskell"
7+
url = "/projects/"
8+
url_button = "See our projects"
9+
repo_version = ""
10+
repo_license = ""
11+
repo_url = ""
12+
13+
[[extra.list]]
14+
title = "Best Practices"
15+
content = "We ensure that best security practices are easy for others, and maintained within the ecosystem."
16+
17+
[[extra.list]]
18+
title = "Timely releases"
19+
content = "With an appropriate release schedule, we bring updates to Hackage"
20+
21+
[[extra.list]]
22+
title = "We hear you"
23+
content = "We listen to the needs of the community and industrial users"
24+
25+
[[extra.list]]
26+
title = "We are the community"
27+
content = "We encourage and support part-time and occasional contributors to the projects"
28+
29+
[[extra.list]]
30+
title = "You are the cryptography group"
31+
content = "No closed group of people has too much control over the cryptography ecosystem"
32+
33+
+++

content/authors/_index.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
+++
2+
title = "Authors"
3+
description = "The authurs of the blog articles."
4+
date = 2021-04-01T08:00:00+00:00
5+
updated = 2021-04-01T08:00:00+00:00
6+
draft = false
7+
8+
# If add a new author page in this section, please add a new item,
9+
# and the format is as follows:
10+
#
11+
# "author-name-in-url" = "the-full-path-of-the-author-page"
12+
#
13+
# Note: We use quoted keys here.
14+
[extra.author_pages]
15+
+++
16+
17+
The authors of the blog articles.

content/blog/_index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
+++
2+
title = "Blog"
3+
description = "Blog"
4+
sort_by = "date"
5+
paginate_by = 2
6+
template = "blog/section.html"
7+
+++

content/blog/markdown-syntax.md

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
+++
2+
title = "Markdown Syntax Guide"
3+
description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
4+
date = 2021-04-20T09:19:42+00:00
5+
updated = 2021-04-20T09:19:42+00:00
6+
draft = true # Leave this as true so that it is not published
7+
template = "blog/page.html"
8+
9+
[taxonomies]
10+
authors = ["Public"]
11+
12+
[extra]
13+
lead = "This article offers a sample of basic Markdown syntax that can be used in Zola content files, also it shows whether basic HTML elements are decorated with CSS in a Zola theme."
14+
+++
15+
16+
## Headings
17+
18+
The following HTML `<h1>``<h6>` elements represent six levels of section
19+
headings. `<h1>` is the highest section level while `<h6>` is the lowest.
20+
21+
# H1
22+
## H2
23+
### H3
24+
#### H4
25+
##### H5
26+
###### H6
27+
28+
## Paragraph
29+
30+
Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum,
31+
voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma
32+
dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as
33+
cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin
34+
porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur?
35+
Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit
36+
ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda
37+
veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore
38+
eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata
39+
tiustia prat.
40+
41+
Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne
42+
sapicia is sinveli squiatum, core et que aut hariosam ex eat.
43+
44+
## Blockquotes
45+
46+
The blockquote element represents content that is quoted from another source,
47+
optionally with a citation which must be within a `footer` or `cite` element,
48+
and optionally with in-line changes such as annotations and abbreviations.
49+
50+
#### Blockquote without attribution
51+
52+
> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
53+
> **Note** that you can use *Markdown syntax* within a blockquote.
54+
55+
#### Blockquote with attribution
56+
57+
> Don't communicate by sharing memory, share memory by communicating.<br>
58+
> — <cite>Rob Pike[^1]</cite>
59+
60+
> All men by nature desire to know.<br>
61+
> ― <cite>Aristotle[^2]</cite>
62+
63+
## Tables
64+
65+
Tables aren't part of the core Markdown spec, but Zola supports them
66+
out-of-the-box.
67+
68+
Name | Age
69+
--------|------
70+
Bob | 27
71+
Alice | 23
72+
73+
#### Inline Markdown within tables
74+
75+
| Italics | Bold | Code |
76+
| -------- | -------- | ------ |
77+
| *italics* | **bold** | `code` |
78+
79+
## Code Blocks
80+
81+
#### Code block with backticks
82+
83+
```html
84+
<!doctype html>
85+
<html lang="en">
86+
<head>
87+
<meta charset="utf-8">
88+
<title>Example HTML5 Document</title>
89+
</head>
90+
<body>
91+
<p>Test</p>
92+
</body>
93+
</html>
94+
```
95+
96+
#### Code block indented with four spaces
97+
98+
<!doctype html>
99+
<html lang="en">
100+
<head>
101+
<meta charset="utf-8">
102+
<title>Example HTML5 Document</title>
103+
</head>
104+
<body>
105+
<p>Test</p>
106+
</body>
107+
</html>
108+
109+
## List Types
110+
111+
#### Ordered List
112+
113+
1. First item
114+
2. Second item
115+
3. Third item
116+
117+
#### Unordered List
118+
119+
- List item
120+
- Another item
121+
- And another item
122+
123+
#### Nested list
124+
125+
- Fruit
126+
- Apple
127+
- Orange
128+
- Banana
129+
- Dairy
130+
- Milk
131+
- Cheese
132+
133+
## Other Elements — abbr, sub, sup, kbd, mark
134+
135+
<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.
136+
137+
H<sub>2</sub>O
138+
139+
X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
140+
141+
Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the
142+
session.
143+
144+
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and
145+
other small creatures.
146+
147+
---
148+
<!-- Note: There must be a blank line between every two lines of the footnote difinition. -->
149+
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c)
150+
during Gopherfest, November 18, 2015.
151+
152+
[^2]: The quote is the first sentence of Aristotle's [Metaphysics](http://classics.mit.edu/Aristotle/metaphysics.html).

content/privacy-policy/_index.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
+++
2+
title = "Privacy Policy"
3+
description = "We do not use cookies and we do not collect any personal data."
4+
date = 2021-05-01T08:00:00+00:00
5+
updated = 2020-05-01T08:00:00+00:00
6+
draft = false
7+
8+
[extra]
9+
class = "page single"
10+
+++
11+
12+
__TLDR__: We do not use cookies and we do not collect any personal data.
13+
14+
## Website visitors
15+
16+
- No personal information is collected.
17+
- No information is stored in the browser.
18+
- No information is shared with, sent to or sold to third-parties.
19+
- No information is shared with advertising companies.
20+
- No information is mined and harvested for personal and behavioral trends.
21+
- No information is monetized.
22+
23+
## Contact us
24+
25+
[Contact us](https://github.com/aaranxu/adidoks) if you have any questions.
26+
27+
Effective Date: _1st May 2021_

content/projects/_index.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
+++
2+
title = "Our Projects"
3+
template = "projects/index.html"
4+
5+
[[extra.list]]
6+
title = "Libsodium bindings"
7+
content = "Static bindings to the Libsodium C library"
8+
repo_name = "cryptography-libsodium-bindings"
9+
10+
[[extra.list]]
11+
title = "Blake3 bindings"
12+
content = "Static bindings to the Blake3 C library"
13+
repo_name = "cryptography-blake3-bindings"
14+
15+
[[extra.list]]
16+
title = "OpenSSL bindings"
17+
content = "Static bindings to the OpenSSL C library"
18+
repo_name = "cryptography-openssl-bindings"
19+
20+
[[extra.list]]
21+
title = "Blake3"
22+
content = "Haskell-friendly wrappers around the Blake3 bindings"
23+
repo_name = "cryptography-blake3"
24+
25+
[[extra.list]]
26+
title = "And many more"
27+
content = "Discover the rest of our projects on our GitHub Organisation"
28+
repo_name = ""
29+
30+
+++

templates/404.html

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{% extends "base.html" %}
2+
3+
{% block seo %}
4+
{{ super() }}
5+
{% set title = "404 Page not found" %}
6+
7+
{% if config.title %}
8+
{% set title_addition = title_separator ~ config.title %}
9+
{% else %}
10+
{% set title_addition = "" %}
11+
{% endif %}
12+
13+
{% set description = config.description %}
14+
15+
{{ macros_head::seo(title=title, title_addition=title_addition, description=description, is_404=true) }}
16+
{% endblock seo %}
17+
18+
{% block content %}
19+
<div class="wrap container" role="document">
20+
<div class="content">
21+
<section class="section container-fluid mt-n3 pb-3">
22+
<div class="row justify-content-center">
23+
<div class="row justify-content-center">
24+
<div class="col-md-12 col-lg-10 col-xxl-8">
25+
<article>
26+
<h1 class="text-center">Page not found :(</h1>
27+
<p class="text-center">The page you are looking for doesn't exist or has been moved.</p>
28+
</article>
29+
</div>
30+
</div>
31+
</div>
32+
</section>
33+
</div>
34+
</div>
35+
{% endblock content %}

0 commit comments

Comments
 (0)