Skip to content

Commit 9ea6266

Browse files
committed
Remove repetitive current team section from team list layout
1 parent 5389034 commit 9ea6266

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

layouts/team/list.html

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -71,40 +71,6 @@ <h5 class="inter-700 text-20 dark-900 pt-4">{{ $element.name | markdownify }}</h
7171
{{ end }}
7272
{{/* End Executive Board Section */}}
7373

74-
{{/* Current Team Section */}}
75-
{{ with .Params.current_team_section }}
76-
{{ if .enable }}
77-
<section class="section bg-dark-100 pt-0">
78-
<div class="container-lg">
79-
<h3 class="inter-700 dark-900 text-40 pb-5">Current Membership of the Executive Board</h3>
80-
<div class="row g-2 g-md-4" id="team-members">
81-
{{ range $index, $element := .team_members }}
82-
<div class="col-6 col-sm-4 col-md-3 team-member {{ if gt $index 7 }}d-none{{ end }}" data-index="{{ $index }}">
83-
<div class="h-100 bg-white rounded-3 p-md-4 p-2 shadow-sm pb-md-3">
84-
<img src="{{ $element.image }}" alt="" class="img-fluid rounded-3">
85-
<h5 class="inter-700 text-20 dark-900 pt-4">{{ $element.name | markdownify }}</h5>
86-
{{ if $element.post }}<p class="inter-400 text-14 dark-900">{{ $element.post | markdownify }}</p>{{ end }}
87-
</div>
88-
</div>
89-
{{ end }}
90-
</div>
91-
{{ if gt (len .team_members) 8 }}
92-
<div class="d-flex justify-content-center align-items-center pt-4 flex-column flex-sm-row gap-2 mt-5">
93-
<a href="javascript:void(0);" id="show-more" class="btn btn-lg border shadow-sm bg-white dark-900 inter-500 text-16">
94-
<span>Show More</span>
95-
<img src="/images/essentials/d-down-arrow.png" alt="" width="20" height="20">
96-
</a>
97-
<a href="javascript:void(0);" id="show-less" class="btn btn-lg border shadow-sm bg-white dark-900 inter-500 text-16 d-none">
98-
<span>Show Less</span>
99-
<img src="/images/essentials/d-down-arrow.png" alt="" width="20" height="20" class="rotatedIcon">
100-
</a>
101-
</div>
102-
{{ end }}
103-
</div>
104-
</section>
105-
{{ end }}
106-
{{ end }}
107-
{{/* End Current Team Section */}}
10874

10975
{{/* Alumni Section */}}
11076
{{/* {{ with .Params.alumni_section }}

0 commit comments

Comments
 (0)