2017-09-04 17:20:33 +02:00
|
|
|
{{ "<!-- SIGNATURES -->" | safeHTML }}
|
|
|
|
<section class="bg-primary" id="signatures">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-8 col-lg-offset-2 text-center">
|
2018-06-08 18:22:10 +02:00
|
|
|
<h2 class="section-heading">{{ i18n "subpage_signatures_headline" }}</h2>
|
|
|
|
|
|
|
|
<hr class="light">
|
2017-09-04 17:20:33 +02:00
|
|
|
|
2018-06-08 18:22:10 +02:00
|
|
|
<p class="text-faded">{{ i18n "subpage_signatures_description" | markdownify }}
|
|
|
|
<a href="{{ "#action" | relLangURL }}"><strong>{{ i18n "action_form_submit" }}</strong></a></p>
|
2017-09-04 17:20:33 +02:00
|
|
|
|
2017-09-06 01:34:00 +02:00
|
|
|
<!-- If you change something here, also change layouts/shortcodes/show_signature.html -->
|
2017-09-04 17:20:33 +02:00
|
|
|
<table id="sigtable">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2018-06-08 18:22:10 +02:00
|
|
|
<th>{{ i18n "subpage_signatures_tableName" }}</th>
|
|
|
|
<th>{{ i18n "subpage_signatures_tableCountry" }}</th>
|
|
|
|
<th>{{ i18n "subpage_signatures_tableComment" }}</th>
|
2017-09-04 17:20:33 +02:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2017-09-05 16:54:23 +02:00
|
|
|
{{ $json := getJSON "data/signatures/signatures.json" }}
|
|
|
|
{{ $json := where $json "include_vars.permissionPub" "yes" }}
|
|
|
|
|
|
|
|
{{ range sort $json "timestamp" "desc" | first 10 }}
|
|
|
|
<tr>
|
|
|
|
<td>{{ .include_vars.name }}</td>
|
|
|
|
<td>{{ .include_vars.country }}</td>
|
|
|
|
<td>{{ .include_vars.comment }}</td>
|
|
|
|
</tr>
|
2017-09-04 17:20:33 +02:00
|
|
|
{{ end }}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2017-09-06 01:34:00 +02:00
|
|
|
|
2018-06-08 18:22:10 +02:00
|
|
|
<p class="text-faded">{{ i18n "subpage_signatures_allSignatures" | markdownify }}</p>
|
2017-09-04 17:20:33 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|