Browse Source

Merge branch 'master' into use-lozad-for-all-webp-img

tags/v1.0.0
divinerites 4 years ago
parent
commit
fedcdb0cba
No account linked to committer's email address

+ 1
- 1
exampleSite/config.toml View File

contentDir = "content/french" contentDir = "content/french"
weight = 2 weight = 2
home = "Accueil" home = "Accueil"
copyright = "copyright et copie; 2020 [gethugothemes] (https://gethugothemes.com) tous droits réservés"
copyright = "copyright © 2020 [gethugothemes](https://gethugothemes.com) tous droits réservés"

+ 2
- 2
layouts/404.html View File

<div class="col-12 text-center"> <div class="col-12 text-center">
<h1>404</h1> <h1>404</h1>
<h2>Page Not Found</h2> <h2>Page Not Found</h2>
<a class="btn btn-main" href="{{ .Site.BaseURL | relLangURL }}">Back to home</a>
<a class="btn btn-main" href="{{ site.BaseURL | relLangURL }}">Back to home</a>
</div> </div>
</div> </div>
</div> </div>
</section> </section>


{{ end }}
{{ end }}

+ 2
- 2
layouts/_default/baseof.html View File

<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-us{{ end }}">
<html lang="{{ with site.LanguageCode }}{{ . }}{{ else }}en-us{{ end }}">
{{ partial "head.html" . }} {{ partial "head.html" . }}


<body id="body" data-spy="scroll" data-target=".navbar" data-offset="55"> <body id="body" data-spy="scroll" data-target=".navbar" data-offset="55">
{{- partial "footer.html" . -}} {{- partial "footer.html" . -}}
</body> </body>


</html>
</html>

+ 3
- 3
layouts/_default/list.html View File

<div class="col-12"> <div class="col-12">
{{"<!-- section title -->" | safeHTML}} {{"<!-- section title -->" | safeHTML}}
<div class="title text-center wow fadeInDown"> <div class="title text-center wow fadeInDown">
<h2>{{ with i18n "blogTitle" }} {{ index (split . " ") 0 }} {{ end }}<span class="color">
{{ with i18n "blogTitle" }} {{ index (split . " ") 1 }} {{ end }}</span></h2>
<h2>{{ with i18n "blogTitle" }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color">
{{ with i18n "blogTitle" }} {{ index (split . " ") 1 | safeHTML }} {{ end }}</span></h2>
<div class="border-meghna"></div> <div class="border-meghna"></div>
</div> </div>
</div> </div>
</section> </section>
{{"<!-- /blog -->" | safeHTML}} {{"<!-- /blog -->" | safeHTML}}


{{ end }}
{{ end }}

+ 1
- 1
layouts/_default/single.html View File

<div class="post-single-content"> <div class="post-single-content">
{{ .Content }} {{ .Content }}
</div> </div>
{{ if .Site.Params.post_share }}
{{ if site.Params.post_share }}
{{ partial "post-share.html" . }} {{ partial "post-share.html" . }}
{{ end }} {{ end }}
<!-- comments --> <!-- comments -->

+ 5
- 5
layouts/author/single.html View File

<div class="row"> <div class="row">
<div class="col-lg-10 mx-auto"> <div class="col-lg-10 mx-auto">
<div class="title text-center"> <div class="title text-center">
<h2>{{ with i18n "aboutAuthor" }} {{ index (split . " ") 0 }} {{ end }}<span class="color">
{{ with i18n "aboutAuthor" }} {{ index (split . " ") 1 }} {{ end }} </span></h2>
<h2>{{ with i18n "aboutAuthor" }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color">
{{ with i18n "aboutAuthor" }} {{ index (split . " ") 1 | safeHTML }} {{ end }} </span></h2>
<div class="border-meghna"></div> <div class="border-meghna"></div>
</div> </div>
<div class="content text-center"> <div class="content text-center">
<div class="row"> <div class="row">
<div class="col-lg-12"> <div class="col-lg-12">
<div class="title text-center"> <div class="title text-center">
<h2>{{ with i18n "authorsPosts" }} {{ index (split . " ") 0 }} {{ end }}<span class="color">
{{ with i18n "authorsPosts" }} {{ index (split . " ") 1 }} {{ end }}</h2>
<h2>{{ with i18n "authorsPosts" }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color">
{{ with i18n "authorsPosts" }} {{ index (split . " ") 1 | safeHTML }} {{ end }}</h2>
<div class="border-meghna"></div> <div class="border-meghna"></div>
</div> </div>
</div> </div>
{{ range where .Site.RegularPages "Params.author" .Title }}
{{ range where site.RegularPages "Params.author" .Title }}
{{ .Render "article" }} {{ .Render "article" }}
{{ end }} {{ end }}
</div> </div>

+ 4
- 4
layouts/partials/about.html View File

{{ $data := index .Site.Data .Site.Language.Lang }}
{{ $data := index site.Data site.Language.Lang }}


{{ if $data.about.about.enable }} {{ if $data.about.about.enable }}
{{ with $data.about.about }} {{ with $data.about.about }}
<div class="col-lg-12"> <div class="col-lg-12">
{{"<!-- section title -->" | safeHTML}} {{"<!-- section title -->" | safeHTML}}
<div class="title text-center wow fadeIn" data-wow-duration="1500ms"> <div class="title text-center wow fadeIn" data-wow-duration="1500ms">
<h2> {{ with .title }} {{ index (split . " ") 0 }} {{ end }}<span class="color">
{{ with .title }} {{ index (split . " ") 1 }} {{ end }} </span></h2>
<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 class="border-meghna"></div>
</div> </div>
</div> </div>
</section> </section>
{{"<!-- /about -->" | safeHTML}} {{"<!-- /about -->" | safeHTML}}
{{ end }} {{ end }}
{{ end }}
{{ end }}

+ 1
- 1
layouts/partials/banner.html View File

{{ $data := index .Site.Data .Site.Language.Lang }}
{{ $data := index site.Data site.Language.Lang }}


{{ if $data.banner.banner.enable }} {{ if $data.banner.banner.enable }}
{{ with $data.banner.banner }} {{ with $data.banner.banner }}

+ 4
- 4
layouts/partials/blog.html View File

{{ if gt .Site.RegularPages 0}}
{{ if gt site.RegularPages 0}}
{{"<!-- Start Blog Section -->" | safeHTML}} {{"<!-- Start Blog Section -->" | safeHTML}}
<section id="blog" class="section"> <section id="blog" class="section">
<div class="container"> <div class="container">
<div class="col-lg-12"> <div class="col-lg-12">
{{"<!-- section title -->" | safeHTML}} {{"<!-- section title -->" | safeHTML}}
<div class="title text-center wow fadeInDown"> <div class="title text-center wow fadeInDown">
<h2>{{ with i18n "blogTitle" }} {{ index (split . " ") 0 }} {{ end }}<span class="color">
{{ with i18n "blogTitle" }} {{ index (split . " ") 1 }} {{ end }}</span></h2>
<h2>{{ with i18n "blogTitle" }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color">
{{ with i18n "blogTitle" }} {{ index (split . " ") 1 | safeHTML }} {{ end }}</span></h2>
<div class="border-meghna"></div> <div class="border-meghna"></div>
</div> </div>
</div> </div>
{{"<!-- /section title -->" | safeHTML}} {{"<!-- /section title -->" | safeHTML}}


{{ range first 3 (where .Site.RegularPages "Section" "==" "blog")}}
{{ range first 3 (where site.RegularPages "Section" "==" "blog")}}
{{ .Render "article"}} {{ .Render "article"}}
{{ end }} {{ end }}



+ 5
- 5
layouts/partials/contact.html View File

{{ $data := index .Site.Data .Site.Language.Lang }}
{{ $data := index site.Data site.Language.Lang }}


{{ if $data.contact.contact.enable }} {{ if $data.contact.contact.enable }}
{{ with $data.contact.contact }} {{ with $data.contact.contact }}
<div class="col-lg-12"> <div class="col-lg-12">
{{"<!-- section title -->" | safeHTML}} {{"<!-- section title -->" | safeHTML}}
<div class="title text-center wow fadeIn" data-wow-duration="500ms"> <div class="title text-center wow fadeIn" data-wow-duration="500ms">
<h2>{{ with .title }} {{ index (split . " ") 0 }} {{ end }}<span class="color">
{{ with .title }} {{ index (split . " ") 1 }} {{ end }}</span></h2>
<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 class="border-meghna"></div>
</div> </div>
</div> </div>
<div class="contact-info col-lg-6 wow fadeInUp" data-wow-duration="500ms"> <div class="contact-info col-lg-6 wow fadeInUp" data-wow-duration="500ms">
<h3>{{ .subtitle | markdownify }}</h3> <h3>{{ .subtitle | markdownify }}</h3>
<p> {{ .content | markdownify }} </p> <p> {{ .content | markdownify }} </p>
{{ if .contact_form.enable }} {{ if .contact_form.enable }}
<div class="contact-details"> <div class="contact-details">
{{ range .contact_list }} {{ range .contact_list }}
</section> </section>
{{"<!-- /contact -->" | safeHTML}} {{"<!-- /contact -->" | safeHTML}}
{{ end }} {{ end }}
{{ end }}
{{ end }}

+ 1
- 1
layouts/partials/cta.html View File

{{ $data := index .Site.Data .Site.Language.Lang }}
{{ $data := index site.Data site.Language.Lang }}


{{ if $data.cta.cta.enable}} {{ if $data.cta.cta.enable}}
{{ with $data.cta.cta}} {{ with $data.cta.cta}}

+ 1
- 1
layouts/partials/feature.html View File

{{ $data := index .Site.Data .Site.Language.Lang }}
{{ $data := index site.Data site.Language.Lang }}


{{ if $data.feature.feature.enable }} {{ if $data.feature.feature.enable }}
{{ with $data.feature.feature }} {{ with $data.feature.feature }}

+ 9
- 9
layouts/partials/footer.html View File

{{"<!-- Footer Social Links -->" | safeHTML}} {{"<!-- Footer Social Links -->" | safeHTML}}
<div class="social-icon"> <div class="social-icon">
<ul class="list-inline"> <ul class="list-inline">
{{ range .Site.Params.social }}
{{ range site.Params.social }}
<li class="list-inline-item"><a href="{{ .link | safeURL }}"><i class="{{ .icon }}"></i></a></li> <li class="list-inline-item"><a href="{{ .link | safeURL }}"><i class="{{ .icon }}"></i></a></li>
{{ end }} {{ end }}
</ul> </ul>


{{"<!-- copyright -->" | safeHTML}} {{"<!-- copyright -->" | safeHTML}}
<div class="copyright text-center"> <div class="copyright text-center">
<a href="{{ .Site.BaseURL | absLangURL }}">
<img src="{{ .Site.Params.logo | absURL }}" alt="{{ .Site.Title }}" />
<a href="{{ site.Home.Permalink }}">
<img src="{{ site.Params.logo | absURL }}" alt="{{ site.Title }}" />
</a> </a>
<br> <br>
<p>{{ .Site.Params.copyright | markdownify }}</p>
<p>{{ site.Params.copyright | markdownify }}</p>
</div> </div>
</div> </div>
</div> </div>
{{"<!-- /footer -->" | safeHTML}} {{"<!-- /footer -->" | safeHTML}}


{{ "<!-- Google Map API -->" | safeHTML }} {{ "<!-- Google Map API -->" | safeHTML }}
{{ if .Site.Params.map.enable }}
<script src="{{ .Site.Params.map.gmap_api | safeURL }}"></script>
{{ if site.Params.map.enable }}
<script src="{{ site.Params.map.gmap_api | safeURL }}"></script>
{{ end }} {{ end }}


{{ "<!-- JS Plugins -->" | safeHTML }} {{ "<!-- JS Plugins -->" | safeHTML }}
{{ range .Site.Params.plugins.js}}
{{ range site.Params.plugins.js}}
<script src="{{ .link | absURL }}"></script> <script src="{{ .link | absURL }}"></script>
{{ end }} {{ end }}


{{ "<!-- Main Script -->" | safeHTML }} {{ "<!-- Main Script -->" | safeHTML }}
{{ $script := resources.Get "js/script.js" | minify}}
<script src="{{ $script.Permalink }}"></script>
{{ $script := resources.Get "js/script.js" | minify | fingerprint "sha384"}
<script src="{{ $script.Permalink }}" integrity="{{ $script.Data.Integrity }}"></script>

+ 1
- 1
layouts/partials/funfacts.html View File

{{ $data := index .Site.Data .Site.Language.Lang }}
{{ $data := index site.Data site.Language.Lang }}


{{ if $data.funfacts.funfacts.enable }} {{ if $data.funfacts.funfacts.enable }}
{{ with $data.funfacts.funfacts }} {{ with $data.funfacts.funfacts }}

+ 6
- 6
layouts/partials/head.html View File



{{ "<!-- mobile responsive meta -->" | safeHTML }} {{ "<!-- mobile responsive meta -->" | safeHTML }}
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}">
{{ with .Site.Params.author }}
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with site.Params.description }}{{ . }}{{ end }}{{ end }}">
{{ with site.Params.author }}
<meta name="author" content="{{ . }}">{{ end }} <meta name="author" content="{{ . }}">{{ end }}
{{ hugo.Generator }} {{ hugo.Generator }}


{{ "<!-- plugins -->" | safeHTML }} {{ "<!-- plugins -->" | safeHTML }}
{{ range .Site.Params.plugins.css }}
{{ range site.Params.plugins.css }}
<link rel="stylesheet" href="{{ .link | absURL }}"> <link rel="stylesheet" href="{{ .link | absURL }}">
{{ end }} {{ end }}


{{"<!-- Main Stylesheet -->"|safeHTML}} {{"<!-- Main Stylesheet -->"|safeHTML}}
{{ $styles := resources.Get "css/style.css" | minify}}
<link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen">
{{ $styles := resources.Get "css/style.css" | minify | fingerprint "sha384" }}
<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}" media="screen">


{{"<!-- Custom stylesheet - for your changes -->" |safeHTML}} {{"<!-- Custom stylesheet - for your changes -->" |safeHTML}}
<link rel="stylesheet" href="{{ `css/custom.css` | relURL}}" media="screen"> <link rel="stylesheet" href="{{ `css/custom.css` | relURL}}" media="screen">
<link rel="shortcut icon" href="{{ `images/favicon.png` | absURL }}" type="image/x-icon"> <link rel="shortcut icon" href="{{ `images/favicon.png` | absURL }}" type="image/x-icon">
<link rel="icon" href="{{ `images/favicon.png` | absURL }}" type="image/x-icon"> <link rel="icon" href="{{ `images/favicon.png` | absURL }}" type="image/x-icon">


{{ with .Site.Params.google_analytics_id }}
{{ with site.Params.google_analytics_id }}
{{ "<!-- Global Site Tag (gtag.js) - Google Analytics -->" | safeHTML }} {{ "<!-- Global Site Tag (gtag.js) - Google Analytics -->" | safeHTML }}
<script async src="https://www.googletagmanager.com/gtag/js?id={{ . }}"></script> <script async src="https://www.googletagmanager.com/gtag/js?id={{ . }}"></script>
<script> <script>

+ 4
- 4
layouts/partials/map.html View File

{{ if .Site.Params.map.enable }}
{{ with .Site.Params.map }}
{{ if site.Params.map.enable }}
{{ with site.Params.map }}
{{"<!-- Google Map -->" | safeHTML}} {{"<!-- Google Map -->" | safeHTML}}
<div class="google-map"> <div class="google-map">
<div id="map" data-latitude="{{ .map_latitude }}" <div id="map" data-latitude="{{ .map_latitude }}"
data-longitude="{{ .map_longitude }}" data-longitude="{{ .map_longitude }}"
data-marker="{{ .map_marker | absURL }}" data-marker="{{ .map_marker | absURL }}"
data-marker-name="{{ $.Site.Title }}"></div>
data-marker-name="{{ $site.Title }}"></div>
</div> </div>
{{ end }} {{ end }}
{{ end }}
{{ end }}

+ 9
- 10
layouts/partials/navigation.html View File

<div class="container"> <div class="container">
<nav class="navbar navbar-expand-lg navbar-dark"> <nav class="navbar navbar-expand-lg navbar-dark">
<a class="navbar-brand p-0" href="{{ .Site.BaseURL | relLangURL }}"> <a class="navbar-brand p-0" href="{{ .Site.BaseURL | relLangURL }}">
{{ if .Site.Params.logo }}
{{ if site.Params.logo }}
<img class="lozad img-fluid" data-src="{{ site.Params.logo | absURL }}" alt="{{ .Site.Title }}"> <img class="lozad img-fluid" data-src="{{ site.Params.logo | absURL }}" alt="{{ .Site.Title }}">
{{ else }} {{ else }}
{{ .Site.Title }}
{{ site.Title }}
{{ end }} {{ end }}
</a> </a>




<div class="collapse navbar-collapse" id="navigation"> <div class="collapse navbar-collapse" id="navigation">
<ul class="navbar-nav ml-auto"> <ul class="navbar-nav ml-auto">
<li class="nav-item"><a class="nav-link" href="#body">{{ .Site.Params.home }}</a></li>
<li class="nav-item"><a class="nav-link" href="#body">{{ site.Params.home }}</a></li>
{{ if .IsHome }} {{ if .IsHome }}
{{ range .Site.Menus.main }}
{{ range site.Menus.main }}
<li class="nav-item"><a class="nav-link" href="#{{ .URL }}">{{ i18n .Name }}</a></li> <li class="nav-item"><a class="nav-link" href="#{{ .URL }}">{{ i18n .Name }}</a></li>
{{ end }} {{ end }}


{{ else }} {{ else }}


{{ range .Site.Menus.main }}
<li class="nav-item"><a class="nav-link" href="{{ $.Site.BaseURL | relLangURL }}#{{ .URL }}">{{ i18n .Name }}</a>
{{ range site.Menus.main }}
<li class="nav-item"><a class="nav-link" href="{{ $site.BaseURL | relLangURL }}#{{ .URL }}">{{ i18n .Name }}</a>
</li> </li>
{{ end }} {{ end }}
{{ end }} {{ end }}



{{ range .Site.Menus.static }}
{{ range site.Menus.static }}
<li class="nav-item"><a class="nav-link" target="_blank" href="{{ .URL }}">{{ i18n .Name }}</a> <li class="nav-item"><a class="nav-link" target="_blank" href="{{ .URL }}">{{ i18n .Name }}</a>
</li> </li>
{{ end }} {{ end }}


</ul> </ul>
<!-- Language List --> <!-- Language List -->
{{- if .Site.IsMultiLingual }}
{{- if site.IsMultiLingual }}
<select id="select-language" onchange="location = this.value;"> <select id="select-language" onchange="location = this.value;">
{{ $siteLanguages := .Site.Languages}}
{{ $siteLanguages := site.Languages}}
{{ $pageLang := .Page.Lang}} {{ $pageLang := .Page.Lang}}
{{ range .Page.AllTranslations }} {{ range .Page.AllTranslations }}
{{ $translation := .}} {{ $translation := .}}

+ 3
- 3
layouts/partials/portfolio.html View File

{{ $data := index .Site.Data .Site.Language.Lang }}
{{ $data := index site.Data site.Language.Lang }}


{{ if $data.portfolio.portfolio.enable }} {{ if $data.portfolio.portfolio.enable }}
{{ with $data.portfolio.portfolio }} {{ with $data.portfolio.portfolio }}
<div class="col-xl-12"> <div class="col-xl-12">
{{"<!-- section title -->" | safeHTML}} {{"<!-- section title -->" | safeHTML}}
<div class="title text-center"> <div class="title text-center">
<h2>{{ with .title }} {{ index (split . " ") 0 }} {{ end }}<span class="color">
{{ with .title }} {{ index (split . " ") 1 }} {{ end }}</span></h2>
<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 class="border-meghna"></div>
</div> </div>
{{"<!-- /section title -->" | safeHTML}} {{"<!-- /section title -->" | safeHTML}}

+ 3
- 3
layouts/partials/preloader.html View File

{{ if .Site.Params.preloader.enable }}
{{ if site.Params.preloader.enable }}
{{ "<!-- preloader start -->" | safeHTML }} {{ "<!-- preloader start -->" | safeHTML }}
<div class="preloader"> <div class="preloader">
{{ with .Site.Params.preloader.preloader }}
{{ with site.Params.preloader.preloader }}
<img src="{{ . | absURL }}" alt="preloader"> <img src="{{ . | absURL }}" alt="preloader">
{{ end }} {{ end }}
</div> </div>
{{ "<!-- preloader end -->" | safeHTML }} {{ "<!-- preloader end -->" | safeHTML }}
{{ end }}
{{ end }}

+ 4
- 4
layouts/partials/pricing.html View File

{{ $data := index .Site.Data .Site.Language.Lang }}
{{ $data := index site.Data site.Language.Lang }}


{{ if $data.pricing.pricing.enable }} {{ if $data.pricing.pricing.enable }}
{{ with $data.pricing.pricing }} {{ with $data.pricing.pricing }}
{{"<!-- section title -->" | safeHTML}} {{"<!-- section title -->" | safeHTML}}
<div class="col-lg-12"> <div class="col-lg-12">
<div class="title text-center wow fadeInDown" data-wow-duration="500ms"> <div class="title text-center wow fadeInDown" data-wow-duration="500ms">
<h2>{{ with .title }} {{ index (split . " ") 0 }} {{ end }}<span class="color">
{{ with .title }} {{ index (split . " ") 1 }} {{ end }}</span></h2>
<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 class="border-meghna"></div>
</div> </div>
</div> </div>
</section> </section>
{{"<!-- /pricing -->" | safeHTML}} {{"<!-- /pricing -->" | safeHTML}}
{{ end }} {{ end }}
{{ end }}
{{ end }}

+ 4
- 4
layouts/partials/service.html View File

{{ $data := index .Site.Data .Site.Language.Lang }}
{{ $data := index site.Data site.Language.Lang }}


{{ if $data.service.service.enable}} {{ if $data.service.service.enable}}
{{ with $data.service.service}} {{ with $data.service.service}}
<div class="col-lg-12"> <div class="col-lg-12">
{{"<!-- section title -->" | safeHTML }} {{"<!-- section title -->" | safeHTML }}
<div class="title text-center wow fadeIn" data-wow-duration="500ms"> <div class="title text-center wow fadeIn" data-wow-duration="500ms">
<h2>{{ with .title }} {{ index (split . " ") 0 }} {{ end }}<span class="color">
{{ with .title }} {{ index (split . " ") 1 }} {{ end }} </span></h2>
<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 class="border-meghna"></div>
</div> </div>
</div> </div>
</section> </section>
{{"<!-- /service -->" | safeHTML }} {{"<!-- /service -->" | safeHTML }}
{{ end }} {{ end }}
{{ end }}
{{ end }}

+ 3
- 3
layouts/partials/skill.html View File

{{ $data := index .Site.Data .Site.Language.Lang }}
{{ $data := index site.Data site.Language.Lang }}


{{ if $data.skill.skill.enable }} {{ if $data.skill.skill.enable }}
{{ with $data.skill.skill }} {{ with $data.skill.skill }}
{{"<!-- section title -->" | safeHTML }} {{"<!-- section title -->" | safeHTML }}
<div class="col-lg-12"> <div class="col-lg-12">
<div class="title text-center"> <div class="title text-center">
<h2>{{ with .title }} {{ index (split . " ") 0 }} {{ end }}<span class="color">
{{ with .title }} {{ index (split . " ") 1 }} {{ end }} </span></h2>
<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 class="border-meghna"></div>
</div> </div>
</div> </div>

+ 3
- 3
layouts/partials/team.html View File

{{ $data := index .Site.Data .Site.Language.Lang }}
{{ $data := index site.Data site.Language.Lang }}


{{ if $data.team.team.enable }} {{ if $data.team.team.enable }}
{{ with $data.team.team }} {{ with $data.team.team }}
<div class="col-lg-12"> <div class="col-lg-12">
{{"<!-- section title -->" | safeHTML}} {{"<!-- section title -->" | safeHTML}}
<div class="title text-center wow fadeInUp" data-wow-duration="500ms"> <div class="title text-center wow fadeInUp" data-wow-duration="500ms">
<h2>{{ with .title }} {{ index (split . " ") 0 }} {{ end }}<span class="color">
{{ with .title }} {{ index (split . " ") 1 }} {{ end }}</span></h2>
<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 class="border-meghna"></div>
</div> </div>
</div> </div>

+ 1
- 1
layouts/partials/testimonial.html View File

{{ $data := index .Site.Data .Site.Language.Lang }}
{{ $data := index site.Data site.Language.Lang }}


{{ if $data.testimonial.testimonial.enable }} {{ if $data.testimonial.testimonial.enable }}
{{ with $data.testimonial.testimonial }} {{ with $data.testimonial.testimonial }}

Loading…
Cancel
Save