press-kit: partial refactoring (remove loops)

This commit is contained in:
erciccione 2020-04-29 13:58:38 +02:00
parent 87d12d6d71
commit 25e9cc785d
No known key found for this signature in database
GPG Key ID: 762AF8C608E56CDF
2 changed files with 21 additions and 33 deletions

View File

@ -230,25 +230,16 @@ press-kit:
large: Large
symbol_file: Symbol .ai file
logo_file: Logo .ai file
documents:
- category: Press Documentation
publications:
- name: "Quick-Facts Sheet"
url_file: "http://www.monerooutreach.org/quick-facts.html"
abstract: >
A quick and easy to read document to know everything about Monero: history, key differentiating factors, technical fundamentals, and features in development.<br>
See <a target="_blank" href="https://www.monerooutreach.org">Monero Outreach</a> website for more information.
marketing:
- category: Marketing Material
publications:
- name: "The 'Don't buy Monero' sticker"
url_file: "https://github.com/monero-ecosystem/dont-buy-monero-sticker"
abstract: >
Spread Monero everywhere with the help of this sticker. Available in multiple languages and formats (vectors included).
- name: Guerrilla Toolkit
url_file: "https://www.monerooutreach.org/guerrilla-toolkit.html"
abstract: >
A document created by the Monero Outreach workgroup containing materials and tips for an effective guerrilla marketing campaign.
pressdoc: Press Documentation
quickfacts: "Quick-Facts Sheet"
quickfactsp: >
A quick and easy to read document to know everything about Monero: history, key differentiating factors, technical fundamentals, and features in development.<br>
See <a target="_blank" href="https://www.monerooutreach.org">Monero Outreach</a> website for more information.
marketing: Marketing Material
dontbuysticker: "The 'Don't buy Monero' sticker"
dontbuystickerp: Spread Monero everywhere with the help of this sticker. Available in multiple languages and formats (vectors included).
guerrillakit: Guerrilla Toolkit
guerrillakitp: A document created by the Monero Outreach workgroup containing materials and tips for an effective guerrilla marketing campaign.
accepting:
title_gui: Instructions for the GUI

View File

@ -74,26 +74,23 @@ permalink: /press-kit/index.html
</div>
</section>
<section class="container full">
{% for press in site.translations[site.lang].press-kit.documents %}
<div class="info-block">
<h2>{{ press.category }}</h2>
<h2>{% t press-kit.pressdoc %}</h2>
<div>
{% for publication in press.publications %}
<h3><a href="{{ publication.url_file }}">{{ publication.name }}</a></h3>
<p>{{ publication.abstract }}</p>
{% endfor %}
<h3><a href="http://www.monerooutreach.org/quick-facts.html">{% t press-kit.quickfacts %}</a></h3>
<p>{% t press-kit.quickfactsp %}</p>
</div>
</div>
{% endfor %}
<div class="info-block">
{% for entry in site.translations[site.lang].press-kit.marketing %}
<h2>{{ entry.category }}</h2>
<h2>{% t press-kit.marketing %}</h2>
<div>
{% for publication in entry.publications %}
<h3><a href="{{ publication.url_file }}">{{ publication.name }}</a></h3>
<p>{{ publication.abstract }}</p>
{% endfor %}
<h3><a href="https://github.com/monero-ecosystem/dont-buy-monero-sticker">{% t press-kit.dontbuysticker %}</a></h3>
<p>{% t press-kit.dontbuystickerp %}</p>
</div>
<div>
<h3><a href="https://www.monerooutreach.org/guerrilla-toolkit.html">{% t press-kit.guerrillakit %}</a></h3>
<p>{% t press-kit.guerrillakitp %}</p>
</div>
{% endfor %}
</div>
</section>