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

Commit fced731

Browse files
committed
Tweak layout with slide/video links
Signed-off-by: Matt Stratton <[email protected]>
1 parent ef201e0 commit fced731

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

layouts/program/single.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ <h5 class="mb-0">
120120
<a href="{{ (printf "events/%s/program/%s" $e.name .title) | absURL }}">{{ $.Scratch.Get (printf "%s-speaker" .title) }} - {{ $.Scratch.Get .title }}</a><br/>
121121
{{- end -}}
122122
{{- if eq ($.Scratch.Get "icons") "TRUE" -}}
123-
{{- with ($.Scratch.Get (printf "%s-video_link" .title)) -}}<a href="{{ . }}"><i class="fa fa-video-camera" aria-hidden="true"></i></a>&nbsp;{{- end -}}
124-
{{- with ($.Scratch.Get (printf "%s-slides_link" .title)) -}}<a href="{{ . }}"><i class="fa fa-file-text-o" aria-hidden="true"></i></a>&nbsp;{{- end -}}
123+
{{- with ($.Scratch.Get (printf "%s-video_link" .title)) -}}&nbsp;<a href="{{ . }}"><i class="fa fa-video-camera" aria-hidden="true"></i></a>&nbsp;{{- end -}}
124+
{{- with ($.Scratch.Get (printf "%s-slides_link" .title)) -}}&nbsp;<a href="{{ . }}"><i class="fa fa-file-text-o" aria-hidden="true"></i></a>&nbsp;{{- end -}}
125125
{{- end -}}
126126
<br/>
127127
<br/>
@@ -148,8 +148,8 @@ <h5 class="mb-0">
148148
{{ .title }}
149149
{{- end -}}
150150
{{- if eq ($.Scratch.Get "icons") "TRUE" -}}
151-
{{- with ($.Scratch.Get (printf "%s-video_link" .title)) -}}<a href="{{ . }}"><i class="fa fa-video-camera" aria-hidden="true"></i></a>&nbsp;{{- end -}}
152-
{{- with ($.Scratch.Get (printf "%s-slides_link" .title)) -}}<a href="{{ . }}"><i class="fa fa-file-text-o" aria-hidden="true"></i></a>&nbsp;{{- end -}}
151+
{{- with ($.Scratch.Get (printf "%s-video_link" .title)) -}}&nbsp;<a href="{{ . }}"><i class="fa fa-video-camera" aria-hidden="true"></i></a>&nbsp;{{- end -}}
152+
{{- with ($.Scratch.Get (printf "%s-slides_link" .title)) -}}&nbsp;<a href="{{ . }}"><i class="fa fa-file-text-o" aria-hidden="true"></i></a>&nbsp;{{- end -}}
153153
{{- end -}}
154154
</li>
155155
{{- end -}}<!-- rang ignites-->

0 commit comments

Comments
 (0)