Skip to content

Commit f44ffb2

Browse files
committed
Add Libra white paper
0 parents  commit f44ffb2

File tree

5 files changed

+184
-0
lines changed

5 files changed

+184
-0
lines changed

Libra/LibraWhitePaper_pt_BR.pdf

627 KB
Binary file not shown.

Libra/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../template.md

_config.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
theme: jekyll-theme-minimal
2+
google_analytics: UA-6780238-15
3+
markdown_ext: "md,txt"
4+
5+
style: dir
6+
dir_spacification: "-"
7+
dir_links: true
8+
extensions:
9+
- .pdf
10+
- .txt
11+
- .md
12+
truncate: 60
13+
html_link:
14+
- .md
15+
- .txt

index.md

+89
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
---
2+
---
3+
4+
<div>
5+
{% if site.style == 'list' %}
6+
<ul>
7+
{% elsif site.style == 'nlist' %}
8+
<ol>
9+
{% endif %}
10+
{% assign directory = '' %}
11+
{% assign baseurl = site.github.baseurl %}
12+
{% for file in site.static_files %}
13+
{% if site.extensions == null or site.extensions contains file.extname %}
14+
{% assign dirs = file.path | split: '/' %}
15+
{% unless site.style == 'dir' and dirs.size < 3 %}
16+
{% unless dirs[1] == 'symbol' %}
17+
{% if dirs[1] != directory and site.style == 'dir' %}
18+
{% if directory != '' %}
19+
</dl>
20+
{% endif %}
21+
{% assign directory = dirs[1] %}
22+
<dl>
23+
{% if site.dir_links %}
24+
{% if site.dir_spacification == null %}
25+
<dt><a href="{{ baseurl }}/{{ directory }}">{{ directory }}</a></dt>
26+
{% else %}
27+
<dt><a href="{{ baseurl }}/{{ directory }}">{{ directory | replace: site.dir_spacification, ' ' }}</a></dt>
28+
{% endif %}
29+
{% else %}
30+
{% if site.dir_spacification == null %}
31+
<dt>{{ directory }}</dt>
32+
{% else %}
33+
<dt>{{ directory | replace: site.dir_spacification, ' ' }}</dt>
34+
{% endif %}
35+
{% endif %}
36+
{% endif %}
37+
{% if site.directories == null or site.directories contains dirs[1] %}
38+
{% if site.style contains 'list' %}
39+
<li>
40+
{% elsif site.style == 'dir' %}
41+
<dd>
42+
{% endif %}
43+
{% if site.html_link contains file.extname %}
44+
{% assign index = file.path.size | minus: file.extname.size %}
45+
{% assign fpath = file.path | slice: 0, index %}
46+
{% if site.style == 'dir' %}
47+
{% assign fname = file.basename %}
48+
{% else %}
49+
{% assign fname = fpath | slice: 1, fpath.size %}
50+
{% endif %}
51+
{% if site.truncate == null %}
52+
<a href="{{ baseurl }}{{ fpath }}">{{ fname }}</a> (<a href="{{ baseurl }}{{ file.path }}">{{ file.extname }}</a>)
53+
{% else %}
54+
<a href="{{ baseurl }}{{ fpath }}">{{ fname | truncate: site.truncate }}</a> (<a href="{{ baseurl }}{{ file.path }}">{{ file.extname }}</a>)
55+
{% endif %}
56+
{% else %}
57+
{% if site.style == 'dir' %}
58+
{% assign fname = file.name %}
59+
{% else %}
60+
{% assign fname = file.path | slice: 1, file.path.size %}
61+
{% endif %}
62+
{% if site.truncate == null %}
63+
<a href="{{ baseurl }}{{ file.path }}">{{ fname }}</a>
64+
{% else %}
65+
<a href="{{ baseurl }}{{ file.path }}">{{ fname | truncate: site.truncate }}</a>
66+
{% endif %}
67+
{% endif %}
68+
{% if site.style contains 'list' %}
69+
</li>
70+
{% elsif site.style == 'dir' %}
71+
</dd>
72+
{% elsif site.style == null %}
73+
<br>
74+
{% endif %}
75+
{% endif %}
76+
{% endunless %}
77+
{% endunless %}
78+
{% endif %}
79+
{% endfor %}
80+
{% if site.style == 'list' %}
81+
</ul>
82+
{% elsif site.style == 'nlist' %}
83+
</ol>
84+
{% elsif site.style == 'dir' %}
85+
</dl>
86+
{% endif %}
87+
</div>
88+
89+
This site is done with [jeklist](https://github.com/Cryptorating/jeklist) by [fgallaire](https://f.gallai.re)

template.md

+79
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
---
2+
---
3+
4+
{% assign index = page.url.size | minus: 2 %}
5+
{% assign directory = page.url | slice: 1, index | remove_first: "symbol/" %}
6+
{% assign baseurl = site.github.baseurl %}
7+
8+
<div>
9+
{% if site.style == 'list' %}
10+
<ul>
11+
{% elsif site.style == 'nlist' %}
12+
<ol>
13+
{% elsif site.style == 'dir' %}
14+
<dl>
15+
{% if site.spacification == null %}
16+
<dt>{{ directory }}</dt>
17+
{% else %}
18+
<dt>{{ directory | replace: site.spacification, ' ' }}</dt>
19+
{% endif %}
20+
{% endif %}
21+
{% assign printed_files = '' | split: '' %}
22+
{% for file in site.static_files %}
23+
{% if site.extensions == null or site.extensions contains file.extname %}
24+
{% assign dirs = file.path | split: '/' %}
25+
{% if dirs[1] == directory or dirs[2] == directory %}
26+
{% unless printed_files contains dirs.last %}
27+
{% assign last = dirs.last | split: ',' %}
28+
{% assign printed_files = printed_files | concat: last %}
29+
{% if site.style contains 'list' %}
30+
<li>
31+
{% elsif site.style == 'dir' %}
32+
<dd>
33+
{% endif %}
34+
{% if site.html_link contains file.extname %}
35+
{% assign index = file.path.size | minus: file.extname.size %}
36+
{% assign fpath = file.path | slice: 0, index %}
37+
{% if site.style == 'dir' %}
38+
{% assign fname = file.basename %}
39+
{% else %}
40+
{% assign fname = fpath | slice: 1, fpath.size %}
41+
{% endif %}
42+
{% if site.truncate == null %}
43+
<a href="{{ baseurl }}{{ fpath }}">{{ fname }}</a> (<a href="{{ baseurl }}{{ file.path }}">{{ file.extname }}</a>)
44+
{% else %}
45+
<a href="{{ baseurl }}{{ fpath }}">{{ fname | truncate: site.truncate }}</a> (<a href="{{ baseurl }}{{ file.path }}">{{ file.extname }}</a>)
46+
{% endif %}
47+
{% else %}
48+
{% if site.style == 'dir' %}
49+
{% assign fname = file.name %}
50+
{% else %}
51+
{% assign fname = file.path | slice: 1, file.path.size %}
52+
{% endif %}
53+
{% if site.truncate == null %}
54+
<a href="{{ baseurl }}{{ file.path }}">{{ fname }}</a>
55+
{% else %}
56+
<a href="{{ baseurl }}{{ file.path }}">{{ fname | truncate: site.truncate }}</a>
57+
{% endif %}
58+
{% endif %}
59+
{% if site.style contains 'list' %}
60+
</li>
61+
{% elsif site.style == 'dir' %}
62+
</dd>
63+
{% elsif site.style == null %}
64+
<br>
65+
{% endif %}
66+
{% endunless %}
67+
{% endif %}
68+
{% endif %}
69+
{% endfor %}
70+
{% if site.style == 'list' %}
71+
</ul>
72+
{% elsif site.style == 'nlist' %}
73+
</ol>
74+
{% elsif site.style == 'dir' %}
75+
</dl>
76+
{% endif %}
77+
</div>
78+
79+
This site is done with [jeklist](https://github.com/Cryptorating/jeklist)

0 commit comments

Comments
 (0)