$('.preloader').fadeOut(100); | $('.preloader').fadeOut(100); | ||||
}); | }); | ||||
// Auto close Navbar when click on link | |||||
$('.navbar-collapse a').click(function(){ | |||||
$(".navbar-collapse").collapse('hide'); | |||||
}); | |||||
jQuery(function ($) { | jQuery(function ($) { | ||||
"use strict"; | "use strict"; | ||||
/* ========================================================================= */ | |||||
/* Auto close Navbar when click on link | |||||
/* ========================================================================= */ | |||||
$('.navbar-collapse a').click(function () { | |||||
$(".navbar-collapse").collapse('hide'); | |||||
}); | |||||
/* ========================================================================= */ | /* ========================================================================= */ | ||||
/* lazy load initialize | /* lazy load initialize | ||||
/* ========================================================================= */ | /* ========================================================================= */ | ||||
counter(); | counter(); | ||||
}); | }); | ||||
}); | |||||
}); |
baseURL = "https://examplesite.com" | baseURL = "https://examplesite.com" | ||||
title = "Meghna" | title = "Meghna" | ||||
theme = "meghna-hugo" | theme = "meghna-hugo" | ||||
themesDir = "../.." | |||||
# post pagination | # post pagination | ||||
paginate = "6" | paginate = "6" | ||||
# post excerpt | # post excerpt |
{{"<!-- Welcome Slider-->" | safeHTML}} | {{"<!-- Welcome Slider-->" | safeHTML}} | ||||
<section class="hero-area" style='background-image: url("{{ .bg_image_webp | absURL }}")'> | <section class="hero-area" style='background-image: url("{{ .bg_image_webp | absURL }}")'> | ||||
<!-- this image is for trigger this section fallback background image --> | <!-- this image is for trigger this section fallback background image --> | ||||
<img class="lozad d-none" data-src="{{ .bg_image_webp | absURL }}" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .bg_image | absURL }})'"/> | |||||
<img class="d-none" src="{{ .bg_image_webp | absURL }}" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .bg_image | absURL }})'"/> | |||||
<div class="block"> | <div class="block"> | ||||
{{ if .icon }} | {{ if .icon }} |
{{"<!-- Start Call To Action -->" | safeHTML}} | {{"<!-- Start Call To Action -->" | safeHTML}} | ||||
<section id="cta" class="call-to-action section-sm bg-1 overly" style='background-image: url("{{ .bg_image_webp | absURL }}")'> | <section id="cta" class="call-to-action section-sm bg-1 overly" style='background-image: url("{{ .bg_image_webp | absURL }}")'> | ||||
<!-- this image is for trigger this section fallback background image --> | <!-- this image is for trigger this section fallback background image --> | ||||
<img class="lozad" style="display: none;" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .bg_image | absURL }})'" data-src="{{ .bg_image_webp | absURL }}" /> | |||||
<img src="{{ .bg_image_webp | absURL }}" style="display: none;" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .bg_image | absURL }})'"> | |||||
<div class="container"> | <div class="container"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-lg-12 text-center"> | <div class="col-lg-12 text-center"> |
<div class="row"> | <div class="row"> | ||||
<div class="col-lg-6 padding-0" style="background-image: url('{{ .image_webp | absURL }}'); background-size: cover; background-position: top center; background-repeat: no-repeat; min-height: 400px;"> | <div class="col-lg-6 padding-0" style="background-image: url('{{ .image_webp | absURL }}'); background-size: cover; background-position: top center; background-repeat: no-repeat; min-height: 400px;"> | ||||
<!-- this image is for trigger this section fallback background image --> | <!-- this image is for trigger this section fallback background image --> | ||||
<img class="lozad" style="display: none;" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .image | absURL }})'" data-src="{{ .image_webp | absURL }}" /> | |||||
<img src="{{ .image_webp | absURL }}" style="display: none;" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .image | absURL }})'"> | |||||
</div> | </div> | ||||
<div class="col-lg-6"> | <div class="col-lg-6"> | ||||
<div class="content-block"> | <div class="content-block"> |
<section id="testimonial" class="testimonial overly section bg-2" | <section id="testimonial" class="testimonial overly section bg-2" | ||||
style='background-image: url("{{ .bg_image_webp | absURL }}")'> | style='background-image: url("{{ .bg_image_webp | absURL }}")'> | ||||
<!-- this image is for trigger this section fallback background image --> | <!-- this image is for trigger this section fallback background image --> | ||||
<img class="lozad" style="display: none;" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .bg_image | absURL }})'" data-src="{{ .bg_image_webp | absURL }}" /> | |||||
<img src="{{ .bg_image_webp | absURL }}" style="display: none;" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .bg_image | absURL }})'"> | |||||
<div class="container"> | <div class="container"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-xl-12"> | <div class="col-xl-12"> |