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

40 lines
1.2 KiB
HTML
Raw Normal View History

2022-07-19 09:14:46 +02:00
{{ $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 text-center wow fadeInUp" data-wow-duration="500ms">
<div class="block">
<div class="icon-box">
{{with .icon}}<i class="{{ . }}"></i>{{ end }}
</div>
{{"<!-- Express About Yourself -->" | safeHTML}}
<div class="content text-center">
<h3>{{ .title }}</h3>
<p>{{ .content | markdownify }}</p>
</div>
</div>
</div>
{{ end }}
</div>
</div>
</section>
{{"<!-- /about -->" | safeHTML}}
{{ end }}
{{ end }}