fragments: team
This commit is contained in:
parent
c488e56399
commit
104191b791
|
@ -0,0 +1,7 @@
|
||||||
|
<div class="users-block">
|
||||||
|
<div class="row">
|
||||||
|
{{ range .team }}
|
||||||
|
{{ partial "whole-page-fragments/team/team-member" .}}
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -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" ) ) ) ) }}
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue