Link speakers
This commit is contained in:
parent
d585dafb86
commit
7ebb0231c9
|
@ -1,5 +1,9 @@
|
|||
<p>
|
||||
{{ if isset .Page.Params "speaker_url" }}
|
||||
<strong><i class="far fa-user fa-fw"></i></strong> <a href="{{ .Page.Params.Speaker_url }}">{{ .Page.Params.Speaker }}</a><br/>
|
||||
{{ else }}
|
||||
<strong><i class="far fa-user fa-fw"></i></strong> {{ .Page.Params.Speaker }}<br/>
|
||||
{{ end }}
|
||||
<strong><i class="far fa-calendar fa-fw"></i></strong> {{ dateFormat "02.01.2006, 15:04" .Page.Params.Event_date }} Uhr<br/>
|
||||
<strong><i class="fa fa-language fa-fw"></i></strong> {{ .Page.Params.Language }}<br/>
|
||||
<strong><i class="fa fa-map-marker fa-fw"></i></strong> {{ partial "location" .Page.Params.Location }}
|
||||
|
|
|
@ -12,7 +12,11 @@
|
|||
<tr>
|
||||
<td>{{ $art.Params.no }}</td>
|
||||
<td>{{ dateFormat "02.01.2006" $art.Params.event_date }}</td>
|
||||
{{ if isset $art.Params "speaker_url" }}
|
||||
<td><a href="{{ $art.Params.speaker_url }}">{{ $art.Params.speaker }}</a></td>
|
||||
{{ else }}
|
||||
<td>{{ $art.Params.speaker }}</td>
|
||||
{{ end }}
|
||||
<td><a href="{{ $art.Permalink }}">{{ $art.Params.subtitle }}</a></td>
|
||||
{{ if $art.Params.recording }}
|
||||
<td><a href="{{ $art.Params.recording }}"><i class="fa fa-video fa-fw"></i></a></td>
|
||||
|
|
Loading…
Reference in a new issue