fragments: team

This commit is contained in:
Marek Nečada 2022-10-07 13:19:27 +03:00
parent c488e56399
commit 104191b791
3 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<div class="users-block">
<div class="row">
{{ range .team }}
{{ partial "whole-page-fragments/team/team-member" .}}
{{ end }}
</div>
</div>

View File

@ -0,0 +1,43 @@
<div class="row about-block">
<div class="col-md-3 text-md-right">
<h4 class="about-block__title" id ="team">
Orgány Institutu π
</h4>
</div>
<div class="col-md-6 about-block__text">
<p>
</p>
</div>
</div>
<!-- Users block -->
{{ partial "whole-page-fragments/team/team-section" (dict "team" (where .Site.Data.team.team "roles" "intersect" (slice "ředitel" "leadership team" "strategic advisor" "editor" "intern") )) }}
<!-- Text block -->
<div class="row about-block">
<div class="col-md-3 text-md-right">
<h4 class="about-block__title">
Správní rada
</h4>
</div>
<div class="col-md-6 about-block__text">
</div>
</div>
{{ partial "whole-page-fragments/team/team-section" (dict "team" (where .Site.Data.team.team "roles" "intersect" (slice "správní rada") )) }}
<div class="row about-block">
<div class="col-md-3 text-md-right">
<h4 class="about-block__title">
{{ $alumni := (where .Site.Data.team.team "alumnus" true ) }}
{{ if eq ( len $alumni ) 1 }}
<!-- Our Alumnus -->
{{ else }}
<!-- Our Alumni -->
{{ end }}
</h4>
</div>
<div class="col-md-6 about-block__text">
</div>
</div>
{{ partial "whole-page-fragments/team/team-section" (dict "team" $alumni) }}
{{ partial "whole-page-fragments/team/team-section" (dict "team" (append (where .Site.Data.team.team "roles" "intersect" (slice "fellow" ) ) (where .Site.Data.team.team "past_roles" "intersect" (slice "fellow" ) ) ) ) }}

8
static/css/main.min.css vendored Normal file

File diff suppressed because one or more lines are too long