-
Notifications
You must be signed in to change notification settings - Fork 153
/
about.html
42 lines (42 loc) · 1.8 KB
/
about.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{{ $data := index .Site.Data .Site.Language.Lang }}
{{ with $data.about }}
{{ if .enable }}
{{ "<!-- About Section Start -->" | safeHTML }}
<section class="about section-sm" id="about">
<div class="container">
{{ range .item }}
{{ if .positionRight }}
<div class="row mt-50 justify-content-center">
<div class="col-md-5 col-md-5 col-sm-12 offset-md-1">
<div class="content">
<h2>{{ .title }}</h2>
<p>
{{ .description }}
</p>
</div>
</div>
<div class="col-12 col-md-5 col-sm-12 text-center">
<img src="{{ .image | absURL }}" class="img-fluid rounded shadow" alt="about-image">
</div>
</div>
{{ else }}
<div class="row mb-50 justify-content-center">
<div class="col-md-5 col-sm-12 text-center offset-md-1">
<img src="{{ .image | absURL }}" class="img-fluid rounded shadow" alt="about-image">
</div>
<div class="col-md-5 col-sm-12">
<div class="content">
<h2>{{ .title }}</h2>
<p>
{{ .description }}
</p>
</div>
</div>
</div>
{{ end }}
{{ end }}
</div>
</section>
{{"<!-- About section End -->" | safeHTML}}
{{ end }}
{{ end }}