Skip to content

Commit 8b1d30b

Browse files
committed
Unify the sections in /projects/
1 parent 8a54a91 commit 8b1d30b

File tree

2 files changed

+8
-37
lines changed

2 files changed

+8
-37
lines changed

content/projects/_index.md

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,22 @@ template = "projects/index.html"
44

55
[[extra.list]]
66
title = "Libsodium bindings"
7-
content = "Static bindings to the Libsodium C library"
8-
repo_name = "cryptography-libsodium-bindings"
7+
content = "Static bindings to the Libsodium C library and Haskell wrapper"
8+
url = "https://github.com/orgs/haskell-cryptography/repositories?q=topic%3Alibsodium&type=all&language=&sort="
99

1010
[[extra.list]]
1111
title = "Blake3 bindings"
12-
content = "Static bindings to the Blake3 C library"
13-
repo_name = "cryptography-blake3-bindings"
12+
content = "Static bindings to the Blake3 C library and Haskell wrapper"
13+
url = "https://github.com/orgs/haskell-cryptography/repositories?q=topic%3Ablake3&type=all&language=&sort="
1414

1515
[[extra.list]]
1616
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"
17+
content = "Bindings to OpenSSL, static and dynamic, with Haskell wrappers"
18+
url = "https://github.com/haskell-cryptography?q=topic%3Aopenssl&type=all&language=&sort="
2419

2520
[[extra.list]]
2621
title = "And many more"
2722
content = "Discover the rest of our projects on our GitHub Organisation"
28-
repo_name = ""
23+
url = "https://github.com/orgs/haskell-cryptography/repositories"
2924

3025
+++

templates/projects/index.html

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -46,35 +46,11 @@ <h1 class="mt-0">{{ section.title | default(value="Modern Documentation Theme")
4646
<div class="col-lg-5">
4747
<h2 class="h4">{{ val.title }}</h2>
4848
<p>{{ val.content | safe }}</p>
49-
<a class="btn btn-primary btn-lg px-4 mb-2" href="https://github.com/haskell-cryptography{{"/" ~ val.repo_name | safe }}" role="button">{{
49+
<a class="btn btn-primary btn-lg px-4 mb-2" href="{{ val.url | safe }}" role="button">{{
5050
section.extra.url_button | default(value="Discover") }}</a>
5151
</div>
5252
{% endfor %}
5353
{% else %}
54-
<div class="col-lg-5">
55-
<h2 class="h4">Security aware</h2>
56-
<p>Get A+ scores on <a href="https://observatory.mozilla.org/analyze/doks.netlify.app">Mozilla Observatory</a> out of the box. Easily change the default Security Headers to suit your needs.</p>
57-
</div>
58-
<div class="col-lg-5">
59-
<h2 class="h4">Fast by default ⚡️</h2>
60-
<p>Get 100 scores on <a href="https://googlechrome.github.io/lighthouse/viewer/?gist=7731347bb8ce999eff7428a8e763b637">Google Lighthouse</a> by default. Doks removes unused css, prefetches links, and lazy loads images.</p>
61-
</div>
62-
<div class="col-lg-5">
63-
<h2 class="h4">SEO-ready</h2>
64-
<p>Use sensible defaults for structured data, open graph, and Twitter cards. Or easily change the SEO settings to your liking.</p>
65-
</div>
66-
<div class="col-lg-5">
67-
<h2 class="h4">Full text search</h2>
68-
<p>Search your Doks site with FlexSearch. Easily customize index settings and search options to your liking.</p>
69-
</div>
70-
<div class="col-lg-5">
71-
<h2 class="h4">Page layouts</h2>
72-
<p>Build pages with a landing page, blog, or documentation layout. Add custom sections and components to suit your needs.</p>
73-
</div>
74-
<div class="col-lg-5">
75-
<h2 class="h4">Dark mode</h2>
76-
<p>Switch to a low-light UI with the click of a button. Change colors with variables to match your branding.</p>
77-
</div>
7854
{% endif %}
7955
</div>
8056
</div>

0 commit comments

Comments
 (0)