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

View File

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