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: library:
description: "Below are some publications, books or magazines available for you to download." description: "Below are some publications, books or magazines available for you to download."
books: books: Books
- category: Books zerotomonerov2: "Zero to Monero: Second Edition"
publications: zerotomonerov2p: >
- name: "Zero to Monero: Second Edition"
file: "Zero-to-Monero-2-0-0.pdf"
abstract: >
Published: April 4, 2020, with <a href="https://github.com/UkoeHB/Monero-RCT-report">LaTeX source code here</a><br> 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> 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. 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" zerotomonerov1: "Zero to Monero: First Edition"
file: "Zero-to-Monero-1-0-0.pdf" zerotomonerov1p: >
abstract: >
Published: June 26, 2018, with <a href="https://github.com/UkoeHB/Monero-RCT-report">LaTeX source code here</a> Published: June 26, 2018, with <a href="https://github.com/UkoeHB/Monero-RCT-report">LaTeX source code here</a>
- name: "Mastering Monero" masteringmonero: "Mastering Monero"
file: "https://masteringmonero.com/free-download.html" masteringmonerop: >
abstract: >
A guide through the seemingly complex world of Monero.<br> A guide through the seemingly complex world of Monero.<br>
It includes: It includes:
<ul><li>A broad introduction to blockchains and the importance of privacy - ideal for non-technical users.</li> <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>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> <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. See <a href="https://masteringmonero.com/">Mastering Monero</a> website for information.
- category: Magazines magazines: Magazines
publications: revuoq4: "Revuo Monero Q4 2017"
- name: "Revuo Monero Q4 2017" revuoq4p: >
file: "Revuo-2017-Q4.pdf"
abstract: >
Quarterly Monero magazine, Q4 2017 edition.<br> Quarterly Monero magazine, Q4 2017 edition.<br>
In this issue, updates about: development, Monero Research Lab, Kovri, and community. In this issue, updates about: development, Monero Research Lab, Kovri, and community.
- name: "Revuo Monero Q3 2017" revuoq3: "Revuo Monero Q3 2017"
file: "Monero-Revuo-3Q-2017.pdf" revuoq3p: >
abstract: >
Quarterly Monero magazine, Q3 2017 edition.<br> Quarterly Monero magazine, Q3 2017 edition.<br>
In this issue, updates about: development, Monero Research Lab, Kovri, community, Hardware, and Monerujo. 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"> <div class="center-xs container description">
<p class="text-center">{% t library.description %}</p> <p class="text-center">{% t library.description %}</p>
</div> </div>
{% for book in site.translations[site.lang].library.books %}
<section class="container full"> <section class="container full">
<div class="info-block text-adapt"> <div class="info-block text-adapt">
<h2>{{ book.category }}</h2> <h2>{% t library.books %}</h2>
<div> <div>
{% for publication in book.publications %} <h3><a href="Zero-to-Monero-2-0-0.pdf">{% t library.zerotomonerov2 %}</a></h3>
{% if publication.file contains 'https' %} <p>{% t library.zerotomonerov2p %}</p>
<h3><a href="{{ publication.file }}">{{ publication.name }}</a></h3> <h3><a href="Zero-to-Monero-1-0-0.pdf">{% t library.zerotomonerov1 %}</a></h3>
{% else %} <p>{% t library.zerotomonerov1p %}</p>
<h3><a href="{{ site.baseurl_root }}/library/{{ publication.file }}">{{ publication.name }}</a></h3> <h3><a href="https://masteringmonero.com/free-download.html">Mastering Monero</a></h3>
{% endif %} <p>{% t library.masteringmonerop %}</p>
<p>{{ publication.abstract }}</p> </div>
{% endfor %} </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>
</div> </div>
</section> </section>
{% endfor %}
</div> </div>