Refactor 'Library' section

and reindented to make it more consistent with the rest of the repo (4 spaces instead of 2)
This commit is contained in:
erciccione 2020-04-15 15:13:45 +02:00
parent 639cf2057d
commit 0a05167032
No known key found for this signature in database
GPG Key ID: 762AF8C608E56CDF
2 changed files with 53 additions and 54 deletions

View File

@ -603,22 +603,17 @@ specs:
library:
description: "Below are some publications, books or magazines available for you to download."
books:
- category: Books
publications:
- name: "Zero to Monero: Second Edition"
file: "Zero-to-Monero-2-0-0.pdf"
abstract: >
books: Books
zerotomonerov2: "Zero to Monero: Second Edition"
zerotomonerov2p: >
Published: April 4, 2020, with <a href="https://github.com/UkoeHB/Monero-RCT-report">LaTeX source code here</a><br>
A comprehensive conceptual (and technical) explanation of Monero.<br>
We endeavor to teach anyone who knows basic algebra and simple computer science concepts like the bit representation of a number not only how Monero works at a deep and comprehensive level, but also how useful and beautiful cryptography can be.
- name: "Zero to Monero: First Edition"
file: "Zero-to-Monero-1-0-0.pdf"
abstract: >
zerotomonerov1: "Zero to Monero: First Edition"
zerotomonerov1p: >
Published: June 26, 2018, with <a href="https://github.com/UkoeHB/Monero-RCT-report">LaTeX source code here</a>
- name: "Mastering Monero"
file: "https://masteringmonero.com/free-download.html"
abstract: >
masteringmonero: "Mastering Monero"
masteringmonerop: >
A guide through the seemingly complex world of Monero.<br>
It includes:
<ul><li>A broad introduction to blockchains and the importance of privacy - ideal for non-technical users.</li>
@ -628,16 +623,13 @@ library:
<li>Introductions to technical foundations of Monero, intended for developers, engineers, software architects, and curious users.</li>
<li>New developments such as Kovri, Bulletproofs, Multisignature, Hardware Wallets, etc.</li></ul>
See <a href="https://masteringmonero.com/">Mastering Monero</a> website for information.
- category: Magazines
publications:
- name: "Revuo Monero Q4 2017"
file: "Revuo-2017-Q4.pdf"
abstract: >
magazines: Magazines
revuoq4: "Revuo Monero Q4 2017"
revuoq4p: >
Quarterly Monero magazine, Q4 2017 edition.<br>
In this issue, updates about: development, Monero Research Lab, Kovri, and community.
- name: "Revuo Monero Q3 2017"
file: "Monero-Revuo-3Q-2017.pdf"
abstract: >
revuoq3: "Revuo Monero Q3 2017"
revuoq3p: >
Quarterly Monero magazine, Q3 2017 edition.<br>
In this issue, updates about: development, Monero Research Lab, Kovri, community, Hardware, and Monerujo.

View File

@ -8,21 +8,28 @@ permalink: /library/index.html
<div class="center-xs container description">
<p class="text-center">{% t library.description %}</p>
</div>
{% for book in site.translations[site.lang].library.books %}
<section class="container full">
<div class="info-block text-adapt">
<h2>{{ book.category }}</h2>
<h2>{% t library.books %}</h2>
<div>
{% for publication in book.publications %}
{% if publication.file contains 'https' %}
<h3><a href="{{ publication.file }}">{{ publication.name }}</a></h3>
{% else %}
<h3><a href="{{ site.baseurl_root }}/library/{{ publication.file }}">{{ publication.name }}</a></h3>
{% endif %}
<p>{{ publication.abstract }}</p>
{% endfor %}
<h3><a href="Zero-to-Monero-2-0-0.pdf">{% t library.zerotomonerov2 %}</a></h3>
<p>{% t library.zerotomonerov2p %}</p>
<h3><a href="Zero-to-Monero-1-0-0.pdf">{% t library.zerotomonerov1 %}</a></h3>
<p>{% t library.zerotomonerov1p %}</p>
<h3><a href="https://masteringmonero.com/free-download.html">Mastering Monero</a></h3>
<p>{% t library.masteringmonerop %}</p>
</div>
</div>
</section>
<section class="container full">
<div class="info-block text-adapt">
<h2>{% t library.magazines %}</h2>
<div>
<h3><a href="{{ site.baseurl_root }}/library/Revuo-2017-Q4.pdf">Revuo Monero Q4 2017</a></h3>
<p>{% t library.revuoq4p %}</p>
<h3><a href="{{ site.baseurl_root }}/library/Monero-Revuo-3Q-2017.pdf">Revuo Monero Q3 2017</a></h3>
<p>{% t library.revuoq3p %}</p>
</div>
</div>
</section>
{% endfor %}
</div>