forked from cryptoaarhus.dk/website
Add an english version to events.
This commit is contained in:
parent
22ae2e5fdc
commit
f4e1cda967
|
@ -1,4 +1,6 @@
|
||||||
- title: "Søndag d. 26. februar 2017"
|
- danish_title: "Søndag d. 26. februar 2017"
|
||||||
text: "Cryptohagen løber af stablen igen! Vi sidder i <strong>Mellemrummet</strong>. Kom og drik god fairtradekaffe med os og lær at sikre dit privatliv på det vilde web!"
|
danish_text: "Cryptohagen løber af stablen igen! Vi sidder i <strong>Mellemrummet</strong>. Kom og drik god fairtradekaffe med os og lær at sikre dit privatliv på det vilde web!"
|
||||||
|
english_title: "Sunday the 26th of February 2017"
|
||||||
|
english_text: "Yet again Cryptohagen is happening! We're sitting in <strong>Mellemrummet</strong>. Come join us, drink a cup of good fair trade coffee and learn how to protect your privacy!"
|
||||||
time: "13:00-17:00"
|
time: "13:00-17:00"
|
||||||
current: true
|
current: true
|
||||||
|
|
|
@ -94,9 +94,19 @@
|
||||||
{% for event in site.data.events %}
|
{% for event in site.data.events %}
|
||||||
<div class="card card-inverse {% if event.current %}card-primary{% else %}card-info{% endif %}">
|
<div class="card card-inverse {% if event.current %}card-primary{% else %}card-info{% endif %}">
|
||||||
<div class="card-block">
|
<div class="card-block">
|
||||||
<h4 class="card-title">{{ event.title }}</h4>
|
<h4 class="card-title">
|
||||||
|
{% if page.language == "en" %}
|
||||||
|
{{ event.english_title }}
|
||||||
|
{% else %}
|
||||||
|
{{ event.danish_title }}
|
||||||
|
{% endif %}
|
||||||
|
</h4>
|
||||||
<p class="card-text">
|
<p class="card-text">
|
||||||
{{ event.text }}
|
{% if page.language == "en" %}
|
||||||
|
{{ event.english_text }}
|
||||||
|
{% else %}
|
||||||
|
{{ event.danish_text }}
|
||||||
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
<p class="card-text">
|
<p class="card-text">
|
||||||
<strong>{{ site.data.strings[section_events_time] }}</strong><br />
|
<strong>{{ site.data.strings[section_events_time] }}</strong><br />
|
||||||
|
|
Loading…
Reference in a new issue