diff --git a/layouts/shortcodes/people.html b/layouts/shortcodes/people.html index 72fc524..437a893 100644 --- a/layouts/shortcodes/people.html +++ b/layouts/shortcodes/people.html @@ -12,52 +12,98 @@ {{ end }} {{ $members := $ctx.Get "members" }} -
-{{ range $members }} -
- {{ $thumbnail := .thumbnail | default "images/person.png" }} - {{ $image_settings := site.Params.people.image_settings | default "500x500 webp q90 smart" }} - - {{ $image_resource := resources.Get $thumbnail }} - - {{ if $image_resource }} - {{ $retouched := $image_resource.Fill $image_settings }} - {{ $thumbnail = $retouched.RelPermalink }} - {{ end }} -
-
-
- {{ .name | anchorize }}-thumbnail -
-
-
-
{{ .name | title }}
- {{ with .position }} -

- {{ . | i18n | title }} -

- {{ end }} -

- {{ with .email }} - - - - {{ end }} - {{ with .homepage }} - - - - {{ end }} - {{ with .github }} - - - - {{ end }} -

-
-
-
+
+ {{ range $members }} +
+
+ {{ $thumbnail := .thumbnail | default "images/person.png" }} + {{ $image_settings := site.Params.people.image_settings | default "500x500 webp q90 smart" }} + {{ $image_resource := resources.Get $thumbnail }} + {{ if $image_resource }} + {{ $retouched := $image_resource.Fill $image_settings }} + {{ $thumbnail = $retouched.RelPermalink }} + {{ end }} + {{ .name | anchorize }}-thumbnail +
+
+
{{ .name | title }}
+ {{ with .position }} +

{{ . | i18n | title }}

+ {{ end }} +
+ {{ with .email }} + Email + {{ end }} + {{ with .linkedin }} + LinkedIn + {{ end }} + {{ with .github }} + GitHub + {{ end }}
+
+
+ {{ end }}
-{{ end }} -
+ + diff --git a/static/icons/linkedin.svg b/static/icons/linkedin.svg new file mode 100644 index 0000000..30fc0e3 --- /dev/null +++ b/static/icons/linkedin.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file