Archived
0
0
Fork 0

Datengarten als Serie, Nr. 88 als Beispiel.

Fuer andere braucht es noch ein Import-Script.
This commit is contained in:
Daniel Molkentin 2018-05-18 13:36:00 +02:00
parent b8ebe04fc2
commit c93bd4c6e6
5 changed files with 69 additions and 8 deletions

View file

@ -0,0 +1,21 @@
{{ $series := or (.Get 0) $.Page.Params.series }}
<table>
<tr>
<th>No.</th>
<th>Date</th>
<th>Speaker</th>
<th>Topic</th>
<th>Video</th>
</tr>
{{ range $ind,$art := $.Site.Pages.ByDate }}
{{ if eq $art.Params.series $series }}
<tr>
<td>{{ $art.Params.no }}</td>
<td>{{ dateFormat "02.01.2006" $art.Params.event_date }}</td>
<td>{{ $art.Params.speaker }}</td>
<td><a href="{{ $art.Permalink }}">{{ $art.Params.subtitle }}</a></td>
<td><a href="{{ $art.Params.recording }}"><i class="fa fa-video-camera fa-fw"></i></a></td>
</tr>
{{ end }}
{{ end }}
</table>