Add acomplishment section

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
hossainemruz 2021-03-28 00:55:39 +06:00
parent b602756e28
commit 5c95132b1e
22 changed files with 266 additions and 12 deletions

View file

@ -0,0 +1,18 @@
{{ $sectionID := replace (lower .section.name) " " "-" }}
{{ if .section.id }}
{{ $sectionID = .section.id }}
{{ end }}
<div class="container-fluid anchor pb-5 accomplishments-section" id="{{ $sectionID }}">
{{ if not (.section.hideTitle) }}
<h1 class="text-center">{{ .section.name }}</h1>
{{ end }}
<div class="container">
<div class="row" id="acomplishment-card-holder">
{{ range .accomplishments }}
{{ partial "cards/accomplishments" . }}
{{ end }}
</div>
</div>
</div>