jarnat/themes/meghna-hugo/layouts/partials/about.html

42 lines
1.2 KiB
HTML

{{ $data := index site.Data site.Language.Lang }}
{{ if $data.about.about.enable }}
{{ with $data.about.about }}
{{"<!-- Start About Section -->" | safeHTML}}
<section class="bg-one about section" id="about">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-12">
{{"<!-- section title -->" | safeHTML}}
<div class="title text-center wow fadeIn" data-wow-duration="1500ms">
<h2> {{ with .title }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color">
{{ with .title }} {{ index (split . " ") 1 | safeHTML }} {{ end }} </span></h2>
<div class="border-meghna"></div>
</div>
</div>
{{"<!-- /section title -->" | safeHTML}}
{{ range .about_item }}
{{"<!-- About item -->" | safeHTML}}
<div class="col-lg-4 wow fadeInUp" data-wow-duration="500ms">
<div class="p-3">
{{with .icon}}
<div class="icon-box">
<i class="{{ . }}"></i>
</div>
{{ end }}
{{"<!-- Express About Yourself -->" | safeHTML}}
<div class="content">
<h3>{{ .title }}</h3>
<p>{{ .content | markdownify }}</p>
</div>
</div>
</div>
{{ end }}
</div>
</div>
</section>
{{"<!-- /about -->" | safeHTML}}
{{ end }}
{{ end }}