Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions themes/devopsdays-theme/layouts/program/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ <h5 class="mb-0">
<a href='{{ (printf "/events/%s/program/%s" $e.name .title) }}'>{{ $.Scratch.Get (printf "%s-speaker" .title) }} - {{ $.Scratch.Get .title }}</a><br/>
{{- end -}}
{{- if eq ($.Scratch.Get "icons") "TRUE" -}}
{{- with ($.Scratch.Get (printf "%s-video_link" .title)) -}}&nbsp;<a href="{{ . }}"><i class="fa fa-video-camera" aria-hidden="true"></i></a>&nbsp;{{- end -}}
{{- 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 -}}
{{- with ($.Scratch.Get (printf "%s-video_link" .title)) -}}&nbsp;<a href="{{ . }}"><i class="fa-solid fa-video" aria-hidden="true"></i>&nbsp;Video</a>&nbsp;{{- end -}}
{{- with ($.Scratch.Get (printf "%s-slides_link" .title)) -}}&nbsp;<a href="{{ . }}"><i class="fa-regular fa-file-lines" aria-hidden="true"></i>&nbsp;Slides</a>&nbsp;</a>&nbsp;{{- end -}}
{{- end -}}
{{- if .comments -}}
<span class="program-page-desc">{{ .comments | markdownify }}<br/></span>
Expand All @@ -204,8 +204,9 @@ <h5 class="mb-0">
<li>
<a href="/events/{{ $e.name }}/program/{{ .title }}">{{ $.Scratch.Get (printf "%s-speaker" .title) }} - {{ $.Scratch.Get .title }}</a>
{{- if eq ($.Scratch.Get "icons") "TRUE" -}}
{{- with ($.Scratch.Get (printf "%s-video_link" .title)) -}}&nbsp;<a href="{{ . }}"><i class="fa fa-video-camera" aria-hidden="true"></i></a>&nbsp;{{- end -}}
{{- 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 -}}
{{- with ($.Scratch.Get (printf "%s-video_link" .title)) -}}&nbsp;<a href="{{ . }}"><i class="fa-solid fa-video" aria-hidden="true"></i>&nbsp;Video</a>&nbsp;{{- end -}}
{{- with ($.Scratch.Get (printf "%s-slides_link" .title)) -}}&nbsp;<a href="{{ . }}"><i class="fa-regular fa-file-lines" aria-hidden="true"></i>&nbsp;Slides</a>&nbsp;</a>&nbsp;{{- end -}}

{{- end -}}

</li>
Expand All @@ -217,8 +218,8 @@ <h5 class="mb-0">
<li>
<a href="/events/{{ $e.name }}/program/{{ .title }}">{{ $.Scratch.Get (printf "%s-speaker" .title) }} - {{ $.Scratch.Get .title }}</a>
{{- if eq ($.Scratch.Get "icons") "TRUE" -}}
{{- with ($.Scratch.Get (printf "%s-video_link" .title)) -}}&nbsp;<a href="{{ . }}"><i class="fa fa-video-camera" aria-hidden="true"></i></a>&nbsp;{{- end -}}
{{- 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 -}}
{{- with ($.Scratch.Get (printf "%s-video_link" .title)) -}}&nbsp;<a href="{{ . }}"><i class="fa-solid fa-video" aria-hidden="true"></i>&nbsp;Video</a>&nbsp;{{- end -}}
{{- with ($.Scratch.Get (printf "%s-slides_link" .title)) -}}&nbsp;<a href="{{ . }}"><i class="fa-regular fa-file-lines" aria-hidden="true"></i>&nbsp;Slides</a>&nbsp;</a>&nbsp;{{- end -}}
{{- end -}}

</li>
Expand Down
Loading