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

Commit 663b8be

Browse files
Add icons for all speaker attributes to talk page.
1 parent 3cbf1a6 commit 663b8be

1 file changed

Lines changed: 27 additions & 1 deletion

File tree

layouts/talk/single.html

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,35 @@ <h4 class="talk-page"><a href = "{{ (printf "events/%s/speakers/%s" $e.name ($.S
128128
</a></h4>
129129
{{- if isset .Params "twitter" -}}
130130
{{- if ne .Params.twitter "" -}}
131-
<a href = "https://twitter.com/{{ .Params.twitter }}"><i class="fa fa-twitter fa-2x" aria-hidden="true"></i></a><br />
131+
<a href = "https://twitter.com/{{ .Params.twitter }}"><i class="fa fa-twitter fa-2x" aria-hidden="true"></i>&nbsp;</a>
132132
{{- end -}}
133133
{{- end -}}
134+
{{- if isset .Params "website" -}}
135+
{{- if ne .Params.website "" -}}
136+
<a href = "{{ .Params.website }}"><i class="fa fa-home fa-2x" aria-hidden="true"></i>&nbsp;</a>
137+
{{- end -}}
138+
{{- end -}}
139+
{{- if isset .Params "facebook" -}}
140+
{{- if ne .Params.facebook "" -}}
141+
<a href = "{{ .Params.facebook }}"><i class="fa fa-facebook-official fa-2x" aria-hidden="true"></i>&nbsp;</a>
142+
{{- end -}}
143+
{{- end -}}
144+
{{- if isset .Params "linkedin" -}}
145+
{{- if ne .Params.linkedin "" -}}
146+
<a href = "{{ .Params.linkedin }}"><i class="fa fa-linkedin fa-2x" aria-hidden="true"></i>&nbsp;</a>
147+
{{- end -}}
148+
{{- end -}}
149+
{{- if isset .Params "github" -}}
150+
{{- if ne .Params.github "" -}}
151+
<a href = "https://github.com/{{ .Params.github }}"><i class="fa fa-github fa-2x" aria-hidden="true"></i>&nbsp;</a>
152+
{{- end -}}
153+
{{- end -}}
154+
{{- if isset .Params "pronouns" -}}
155+
{{- if ne .Params.pronouns "" -}}
156+
<a href = "https://pronoun.is/{{ .Params.pronouns }}"><i class="fa fa-user fa-2x" aria-hidden="true"></i>&nbsp;</a>
157+
{{- end -}}
158+
{{- end -}}
159+
<br />
134160
<span class="talk-page content-text">
135161
{{- if ge (countrunes .Content ) 200 -}}
136162
{{ .Content | markdownify | truncate 200 " "}}<a href = "{{ .Permalink | absURL }}">...</a>

0 commit comments

Comments
 (0)