diff --git a/layouts/shortcodes/people_with_areas.html b/layouts/shortcodes/people_with_areas.html new file mode 100644 index 0000000..da95ef4 --- /dev/null +++ b/layouts/shortcodes/people_with_areas.html @@ -0,0 +1,69 @@ +{{ $ctx := newScratch }} + +{{ $tag := .Get "tag" }} +{{ $columns := .Get "cols" | default "2" }} + +{{ $ctx.Set "tag" $tag }} +{{ $ctx.Set "members" slice }} +{{ range $key, $value := site.Data.bouncmpe.people }} + {{ if intersect $value.tags (slice $tag) }} + {{ $ctx.Set "members" ($ctx.Get "members" | append $value) }} + {{ end }} +{{ end }} +{{ $members := $ctx.Get "members" }} + +
{{ . | i18n | title }}
+ {{ end }} + {{ with .research_areas }} +
+ {{ with .email }}
+
+
+
+ {{ end }}
+ {{ with .homepage }}
+
+
+
+ {{ end }}
+ {{ with .github }}
+
+
+
+ {{ end }}
+