Skip to content
This repository was archived by the owner on Jul 21, 2019. It is now read-only.

Commit 5c667c1

Browse files
committed
Revert to merge updated program page
Signed-off-by: Matt Stratton <matt.stratton@gmail.com>
1 parent bd001e5 commit 5c667c1

1 file changed

Lines changed: 13 additions & 12 deletions

File tree

layouts/program/single.html

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -88,27 +88,28 @@ <h5 class="mb-0">
8888
{{- if .custom_url -}}
8989
<a href="{{ .custom_url | safeURL }}">{{ .title }}<br/></a>
9090
{{- else -}}
91-
{{ .title }}<br/>
91+
{{ .title }}<br/>
92+
{{- end -}}
9293
{{- if .comments -}}
9394
<span class="program-page-desc">{{ .comments | markdownify }}<br/></span>
9495
{{- end -}}
95-
{{- else if or (eq .type "talk") (eq .type "workshop") -}}
96-
{{- if .custom_url -}}
97-
<a href="{{ .custom_url | safeURL }}">{{ $.Scratch.Get (printf "%s-speaker" .title) }} - {{ $.Scratch.Get .title }}</a><br/>
98-
{{- else -}}
99-
<a href="{{ (printf "events/%s/program/%s" $e.name .title) | absURL }}">{{ $.Scratch.Get (printf "%s-speaker" .title) }} - {{ $.Scratch.Get .title }}</a><br/>
100-
{{- end -}}
101-
{{- if eq ($.Scratch.Get "icons") "TRUE" -}}
102-
{{- with ($.Scratch.Get (printf "%s-video_link" .title)) -}}<a href="{{ . }}"><i class="fa fa-video-camera" aria-hidden="true"></i></a>&nbsp;{{- end -}}
103-
{{- with ($.Scratch.Get (printf "%s-slides_link" .title)) -}}<a href="{{ . }}"><i class="fa fa-file-text-o" aria-hidden="true"></i></a>&nbsp;{{- end -}}
104-
{{- end -}}
96+
{{- else if or (eq .type "talk") (eq .type "workshop") -}}
97+
{{- if .custom_url -}}
98+
<a href="{{ .custom_url | safeURL }}">{{ $.Scratch.Get (printf "%s-speaker" .title) }} - {{ $.Scratch.Get .title }}</a><br/>
99+
{{- else -}}
100+
<a href="{{ (printf "events/%s/program/%s" $e.name .title) | absURL }}">{{ $.Scratch.Get (printf "%s-speaker" .title) }} - {{ $.Scratch.Get .title }}</a><br/>
101+
{{- end -}}
102+
{{- if eq ($.Scratch.Get "icons") "TRUE" -}}
103+
{{- with ($.Scratch.Get (printf "%s-video_link" .title)) -}}<a href="{{ . }}"><i class="fa fa-video-camera" aria-hidden="true"></i></a>&nbsp;{{- end -}}
104+
{{- with ($.Scratch.Get (printf "%s-slides_link" .title)) -}}<a href="{{ . }}"><i class="fa fa-file-text-o" aria-hidden="true"></i></a>&nbsp;{{- end -}}
105+
{{- end -}}
105106
<br/>
106107
<br/>
107108
{{- if .comments -}}
108109
<span class="program-page-desc">{{ .comments | markdownify }}<br/></span>
109110
{{- end -}}
110111

111-
{{- else if eq .type "ignite" -}}
112+
{{- else if eq .type "ignite" -}}
112113
{{ .title }}
113114
<!-- do ignite stuff here -->
114115
{{- with $e -}}

0 commit comments

Comments
 (0)