Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/vex-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Fok <foka@debian.org>2018-05-30 18:25:48 +0300
committerAnthony Fok <foka@debian.org>2018-05-30 18:25:48 +0300
commite220c8a470bbbcd00bef8dcca0ee56f781a3b5fe (patch)
tree199a43d87f5da64d33827d27226ac826c6a07750 /layouts
parent5dd470cfb89c9ed17758bf40a0484c72798b4272 (diff)
layouts: Use relURL instead of .Site.BaseURL
And make indentation in the source HTML file consistent.
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html25
-rw-r--r--layouts/partials/call-to-action.html40
-rw-r--r--layouts/partials/feature-list.html74
-rw-r--r--layouts/partials/features.html73
-rw-r--r--layouts/partials/footer.html38
-rw-r--r--layouts/partials/gallery.html45
-rw-r--r--layouts/partials/header.html51
-rw-r--r--layouts/partials/meta.html25
-rw-r--r--layouts/partials/navbar.html41
-rw-r--r--layouts/partials/promo.html34
-rw-r--r--layouts/partials/scripts.html25
-rw-r--r--layouts/partials/stylesheets.html34
-rw-r--r--layouts/partials/testimonials.html54
13 files changed, 280 insertions, 279 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 5f17301..70062fe 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,12 +1,11 @@
<!DOCTYPE html>
<html class="no-js">
<head>
- {{ partial "meta.html" . }}
+ {{- partial "meta.html" . }}
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
- {{ partial "stylesheets.html" . }}
-
+ {{- partial "stylesheets.html" . }}
</head>
<body id="body">
@@ -15,25 +14,25 @@
<div class="pre-loader"></div>
</div>
- {{ partial "navbar.html" . }}
+ {{- partial "navbar.html" . }}
- {{ partial "header.html" . }}
+ {{- partial "header.html" . }}
- {{ partial "features.html" . }}
+ {{- partial "features.html" . }}
- {{ partial "promo.html" . }}
+ {{- partial "promo.html" . }}
- {{ partial "feature-list.html" . }}
+ {{- partial "feature-list.html" . }}
- {{ partial "gallery.html" . }}
+ {{- partial "gallery.html" . }}
- {{ partial "call-to-action.html" . }}
+ {{- partial "call-to-action.html" . }}
- {{ partial "testimonials.html" . }}
+ {{- partial "testimonials.html" . }}
- {{ partial "footer.html" . }}
+ {{- partial "footer.html" . }}
- {{ partial "scripts.html" . }}
+ {{- partial "scripts.html" . }}
</body>
</html>
diff --git a/layouts/partials/call-to-action.html b/layouts/partials/call-to-action.html
index 185dad6..5b4896e 100644
--- a/layouts/partials/call-to-action.html
+++ b/layouts/partials/call-to-action.html
@@ -1,22 +1,22 @@
-{{ with .Site.Params.call_to_action }}
-<section class="call-to-action section bg-opacity bg-1">
- <div class="container">
- <div class="row">
- <div class="col-md-12 wow text-center">
- <div class="block">
- <h2 class="subheading">{{ .title }}</h2>
- <p>{{ .text }}</p>
- <div class="col-lg-6 offset-lg-3">
- <div class="input-group">
- <input type="text" class="form-control" placeholder="{{ .placeholder }}">
- <span class="input-group-btn">
- <button class="btn btn-default btn-main" type="button">{{ .button_text }}</button>
- </span>
- </div><!-- /input-group -->
- </div><!-- /.col-lg-6 -->
+ {{- with .Site.Params.call_to_action }}
+ <section class="call-to-action section bg-opacity bg-1">
+ <div class="container">
+ <div class="row">
+ <div class="col-md-12 wow text-center">
+ <div class="block">
+ <h2 class="subheading">{{ .title }}</h2>
+ <p>{{ .text }}</p>
+ <div class="col-lg-6 offset-lg-3">
+ <div class="input-group">
+ <input type="text" class="form-control" placeholder="{{ .placeholder }}">
+ <span class="input-group-btn">
+ <button class="btn btn-default btn-main" type="button">{{ .button_text }}</button>
+ </span>
+ </div><!-- /input-group -->
+ </div><!-- /.col-lg-6 -->
+ </div>
+ </div>
</div>
</div>
- </div>
- </div>
-</section><!-- #call-to-action close -->
-{{ end }}
+ </section><!-- #call-to-action close -->
+ {{- end }}
diff --git a/layouts/partials/feature-list.html b/layouts/partials/feature-list.html
index 7828bcd..9cadcad 100644
--- a/layouts/partials/feature-list.html
+++ b/layouts/partials/feature-list.html
@@ -1,42 +1,42 @@
-{{ with .Site.Params.feature_list }}
-<section class="feature-list section">
- <div class="container">
- <div class="row">
- <div class="col-md-12">
- <div class="heading">
- <h2>{{ .title }}</h2>
+ {{ with .Site.Params.feature_list }}
+ <section class="feature-list section">
+ <div class="container">
+ <div class="row">
+ <div class="col-md-12">
+ <div class="heading">
+ <h2>{{ .title }}</h2>
+ </div>
</div>
</div>
- </div>
- {{ range $index, $element := .items }}
- {{ if ne (mod $index 2) 1 }}
- <div class="row">
- <div class="col-md-6 text-center">
- <img class="" src="{{ $element.image }}" alt="">
- </div>
- <div class="col-md-6">
- <div class="content mt-100">
- <h4 class="subheading">{{ $element.title }}</h4>
- <p>{{ $element.text }}</p>
- <a href="{{ $element.button_link }}" class="btn btn-main btn-main-sm">{{ $element.button_text }}</a>
+ {{ range $index, $element := .items }}
+ {{- if ne (mod $index 2) 1 }}
+ <div class="row">
+ <div class="col-md-6 text-center">
+ <img class="" src="{{ $element.image }}" alt="">
+ </div>
+ <div class="col-md-6">
+ <div class="content mt-100">
+ <h4 class="subheading">{{ $element.title }}</h4>
+ <p>{{ $element.text }}</p>
+ <a href="{{ $element.button_link }}" class="btn btn-main btn-main-sm">{{ $element.button_text }}</a>
+ </div>
+ </div>
</div>
- </div>
- </div>
- {{ else }}
- <div class="row">
- <div class="col-md-6">
- <div class="content mt-100">
- <h4 class="subheading">{{ $element.title }}</h4>
- <p>{{ $element.text }}</p>
- <a href="{{ $element.button_link }}" class="btn btn-main btn-main-sm">{{ $element.button_text }}</a>
+ {{- else }}
+ <div class="row">
+ <div class="col-md-6">
+ <div class="content mt-100">
+ <h4 class="subheading">{{ $element.title }}</h4>
+ <p>{{ $element.text }}</p>
+ <a href="{{ $element.button_link }}" class="btn btn-main btn-main-sm">{{ $element.button_text }}</a>
+ </div>
+ </div>
+ <div class="col-md-6 text-center">
+ <img class="" src="{{ $element.image }}" alt="">
+ </div>
</div>
- </div>
- <div class="col-md-6 text-center">
- <img class="" src="{{ $element.image }}" alt="">
- </div>
+ {{- end }}
+ {{- end }}
</div>
- {{ end }}
- {{ end }}
- </div>
-</section>
-{{ end }}
+ </section>
+ {{- end }}
diff --git a/layouts/partials/features.html b/layouts/partials/features.html
index f870084..e1b5ee5 100644
--- a/layouts/partials/features.html
+++ b/layouts/partials/features.html
@@ -1,37 +1,38 @@
-<!--
-Feature start
-==================== -->
-{{ with .Site.Params.features }}
-<section class="feature section">
- <div class="container">
- <div class="row">
- <div class="heading">
- <h2>{{ .title }}</h2>
- </div>
- <div class="col-md-4">
- {{ range .left }}
- <div class="feature-box">
- <i class="{{ .icon }}"></i>
- <h4>{{ .title }}</h4>
- <p>{{ .text }}</p>
+ <!--
+ Feature start
+ ==================== -->
+ {{- with .Site.Params.features }}
+ <section class="feature section">
+ <div class="container">
+ <div class="row">
+ <div class="heading">
+ <h2>{{ .title }}</h2>
+ </div>
+ <div class="col-md-4">
+ {{- range .left }}
+ <div class="feature-box">
+ <i class="{{ .icon }}"></i>
+ <h4>{{ .title }}</h4>
+ <p>{{ .text }}</p>
+ </div>
+ {{- end }}
+ </div>
+ {{- with .image }}
+ <div class="col-md-4 text-center">
+ <img src="{{ relURL .path }}" alt="{{ .alt }}">
+ </div>
+ {{- end }}
+ <div class="col-md-4">
+ {{- range .right }}
+ <div class="feature-box">
+ <i class="{{ .icon }}"></i>
+ <h4>{{ .title }}</h4>
+ <p>{{ .text }}</p>
+ </div>
+ {{- end }}
+ </div>
</div>
- {{ end }}
- </div>
- {{ with .image }}
- <div class="col-md-4 text-center">
- <img src="{{ $.Site.BaseURL }}{{ .path }}" alt="{{ .alt }}">
- </div>
- {{ end }}
- <div class="col-md-4">
- {{ range .right }}
- <div class="feature-box">
- <i class="{{ .icon }}"></i>
- <h4>{{ .title }}</h4>
- <p>{{ .text }}</p>
- </div>
- {{ end }}
- </div>
- </div>
- </div><!-- .container close -->
-</section><!-- #service close -->
-{{ end }}
+ </div><!-- .container close -->
+ </section><!-- #service close -->
+ {{- end }}
+
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index d7f7c54..f06f574 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,21 +1,21 @@
-{{ with .Site.Params.navbar }}
-<footer>
- <div class="container text-center">
- <div class="row">
- <div class="col-md-12">
- <div class="block">
- <a href="" class="footer-logo">{{ .logo }}</a>
- <ul class="menu">
- {{ range .menu }}
- <li class="">
- <a href="{{ .link }}">{{ .text }}</a>
- </li>
- {{ end }}
- </ul>
- <p class="copyright-text">Copyright &copy; <a href="http://www.Themefisher.com">Themefisher</a>| All right reserved.</p>
+ {{- with .Site.Params.navbar }}
+ <footer>
+ <div class="container text-center">
+ <div class="row">
+ <div class="col-md-12">
+ <div class="block">
+ <a href="" class="footer-logo">{{ .logo }}</a>
+ <ul class="menu">
+ {{- range .menu }}
+ <li class="">
+ <a href="{{ .link }}">{{ .text }}</a>
+ </li>
+ {{- end }}
+ </ul>
+ <p class="copyright-text">Copyright &copy; <a href="http://www.Themefisher.com">Themefisher</a>| All right reserved.</p>
+ </div>
+ </div>
</div>
</div>
- </div>
- </div>
-</footer>
-{{ end }}
+ </footer>
+ {{- end }}
diff --git a/layouts/partials/gallery.html b/layouts/partials/gallery.html
index d993996..3283ea8 100644
--- a/layouts/partials/gallery.html
+++ b/layouts/partials/gallery.html
@@ -1,26 +1,27 @@
-{{ with .Site.Params.gallery }}
-<section class="gallery">
- <div class="container">
- <div class="row">
- <div class="col-md-12">
- <div class="heading">
- <h2>{{ .title }}</h2>
- </div>
- <div class="gallery-slider">
- {{ range .images }}
- {{ $basePath := printf "%s%s/" $.Site.BaseURL $.Site.Params.gallery.directory }}
- <div class="block">
- <div class="gallery-overlay">
- <a href="{{ $basePath }}{{ . }}" class="image-popup gallery-popup">
- <i class="tf-ion-ios-search"></i>
- </a>
+ {{ with .Site.Params.gallery }}
+ <section class="gallery">
+ <div class="container">
+ <div class="row">
+ <div class="col-md-12">
+ <div class="heading">
+ <h2>{{ .title }}</h2>
+ </div>
+
+ <div class="gallery-slider">
+ {{- $basePath := relURL .directory }}
+ {{- range .images }}
+ <div class="block">
+ <div class="gallery-overlay">
+ <a href="{{ $basePath }}/{{ . }}" class="image-popup gallery-popup">
+ <i class="tf-ion-ios-search"></i>
+ </a>
+ </div>
+ <img class="img-fluid" src="{{ $basePath }}/{{ . }}" alt="">
+ </div>
+ {{- end }}
</div>
- <img class="img-fluid" src="{{ $basePath }}{{ . }}" alt="">
</div>
- {{ end }}
</div>
</div>
- </div>
- </div>
-</section>
-{{ end }}
+ </section>
+ {{ end }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index dbe6f65..c6adf7c 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,25 +1,26 @@
-<!--
-Header start
-==================== -->
-{{ with .Site.Params.header }}
-<section class="hero-area">
- <div class="container">
- <div class="row">
- <div class="col-md-6 text-center">
- {{ with .image }}
- <img src="{{ $.Site.BaseURL }}{{ .path }}" alt="{{ .alt }}">
- {{ end }}
- </div>
- <div class="col-md-6">
- <div class="block">
- <h1 class="">{{ .title }}</h1>
- <p>{{ .text }}</p>
- {{ with .button }}
- <a class="btn btn-main" href="{{ .link }}" role="button">{{ .text }}</a>
- {{ end }}
- </div>
- </div>
- </div><!-- .row close -->
- </div><!-- .container close -->
-</section><!-- header close -->
-{{ end }}
+ <!--
+ Header start
+ ==================== -->
+ {{- with .Site.Params.header }}
+ <section class="hero-area">
+ <div class="container">
+ <div class="row">
+ <div class="col-md-6 text-center">
+ {{- with .image }}
+ <img src="{{ relURL .path }}" alt="{{ .alt }}">
+ {{- end }}
+ </div>
+ <div class="col-md-6">
+ <div class="block">
+ <h1 class="">{{ .title }}</h1>
+ <p>{{ .text }}</p>
+ {{- with .button }}
+ <a class="btn btn-main" href="{{ .link }}" role="button">{{ .text }}</a>
+ {{- end }}
+ </div>
+ </div>
+ </div><!-- .row close -->
+ </div><!-- .container close -->
+ </section><!-- header close -->
+ {{- end }}
+
diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html
index 6fcf414..2274237 100644
--- a/layouts/partials/meta.html
+++ b/layouts/partials/meta.html
@@ -1,12 +1,13 @@
-<meta charset="utf-8">
-<meta http-equiv="X-UA-Compatible" content="IE=edge">
-{{ with .Site.Title }}
- <title>{{ . }}</title>
-{{ end }}
-<meta name="viewport" content="width=device-width, initial-scale=1">
-{{ with .Site.Params.description }}
- <meta name="description" content="{{ . }}">
-{{ end }}
-{{ range .Site.Params.meta }}
- <meta name="{{ .name }}" content="{{ .content }}">
-{{ end }}
+
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ {{- with .Site.Title }}
+ <title>{{ . }}</title>
+ {{- end }}
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ {{- with .Site.Params.description }}
+ <meta name="description" content="{{ . }}">
+ {{- end }}
+ {{- range .Site.Params.meta }}
+ <meta name="{{ .name }}" content="{{ .content }}">
+ {{- end }}
diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html
index 68a3f97..7cfb43d 100644
--- a/layouts/partials/navbar.html
+++ b/layouts/partials/navbar.html
@@ -1,22 +1,23 @@
-{{ with .Site.Params.navbar }}
-<div class="container">
- <nav class="navbar navigation" id="top-nav">
- <a class="navbar-brand logo" href="#">
- <h1>{{ .logo }}</h1>
- </a>
+ {{- with .Site.Params.navbar }}
+ <div class="container">
+ <nav class="navbar navigation" id="top-nav">
+ <a class="navbar-brand logo" href="#">
+ <h1>{{ .logo }}</h1>
+ </a>
- <button class="navbar-toggler hidden-lg-up float-lg-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" >
- <i class="tf-ion-android-menu"></i>
- </button>
- <div class="collapse navbar-toggleable-md" id="navbarResponsive">
- <ul class="nav navbar-nav menu float-lg-right" id="top-nav">
- {{ range .menu }}
- <li class="active">
- <a href="{{ .link }}">{{ .text }}</a>
- </li>
- {{ end }}
- </ul>
+ <button class="navbar-toggler hidden-lg-up float-lg-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" >
+ <i class="tf-ion-android-menu"></i>
+ </button>
+ <div class="collapse navbar-toggleable-md" id="navbarResponsive">
+ <ul class="nav navbar-nav menu float-lg-right" id="top-nav">
+ {{- range .menu }}
+ <li class="active">
+ <a href="{{ .link }}">{{ .text }}</a>
+ </li>
+ {{- end }}
+ </ul>
+ </div>
+ </nav>
</div>
- </nav>
-</div>
-{{ end }}
+ {{- end }}
+
diff --git a/layouts/partials/promo.html b/layouts/partials/promo.html
index 606d206..1ab1302 100644
--- a/layouts/partials/promo.html
+++ b/layouts/partials/promo.html
@@ -1,19 +1,19 @@
-{{ with .Site.Params.promo }}
-<section class="promo-details section">
- <div class="container">
- <div class="row">
- <div class="col-md-6 text-center">
- {{ with .image }}
- <img src="{{ .path }}" alt="{{ .alt }}">
- {{ end }}
- </div>
- <div class="col-md-6">
- <div class="content mt-100">
- <h2 class="subheading">{{ .title }}</h2>
- {{ .text | markdownify }}
+ {{ with .Site.Params.promo }}
+ <section class="promo-details section">
+ <div class="container">
+ <div class="row">
+ <div class="col-md-6 text-center">
+ {{- with .image }}
+ <img src="{{ .path }}" alt="{{ .alt }}">
+ {{- end }}
+ </div>
+ <div class="col-md-6">
+ <div class="content mt-100">
+ <h2 class="subheading">{{ .title }}</h2>
+ {{ .text | markdownify }}
+ </div>
+ </div>
</div>
</div>
- </div>
- </div>
-</section>
-{{ end }}
+ </section>
+ {{ end }}
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index 70ae178..9c911a8 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -1,14 +1,13 @@
-<!-- Js -->
-{{ with .Site.BaseURL }}
-<script src="{{ . }}js/vendor/jquery-2.1.1.min.js"></script>
-<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.3.7/js/tether.min.js" integrity="sha384-XTs3FgkjiBgo8qjEjBk0tGmf3wPrWtA6coPfQDfFEY8AnYJwjalXCiosYRBIBZX8" crossorigin="anonymous"></script>
-<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.5/js/bootstrap.min.js" integrity="sha384-BLiI7JTZm+JWlgKa0M0kGRpJbF2J8q+qreVrKBC47e3K6BW78kGLrCkeRX6I9RoK" crossorigin="anonymous"></script>
-<script src="{{ . }}js/vendor/modernizr-2.6.2.min.js"></script>
-<script src="{{ . }}js/owl.carousel.min.js"></script>
-<script src="{{ . }}js/jquery.magnific-popup.min.js"></script>
-<script src="{{ . }}js/main.js"></script>
-{{ end }}
-{{ range .Site.Params.custom_scripts }}
-<script src="{{ $.Site.BaseURL }}{{ . }}"></script>
-{{ end }}
+ <!-- Js -->
+ <script src="{{ relURL "js/vendor/jquery-2.1.1.min.js" }}"></script>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.3.7/js/tether.min.js" integrity="sha384-XTs3FgkjiBgo8qjEjBk0tGmf3wPrWtA6coPfQDfFEY8AnYJwjalXCiosYRBIBZX8" crossorigin="anonymous"></script>
+ <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.5/js/bootstrap.min.js" integrity="sha384-BLiI7JTZm+JWlgKa0M0kGRpJbF2J8q+qreVrKBC47e3K6BW78kGLrCkeRX6I9RoK" crossorigin="anonymous"></script>
+ <script src="{{ relURL "js/vendor/modernizr-2.6.2.min.js" }}"></script>
+ <script src="{{ relURL "js/owl.carousel.min.js" }}"></script>
+ <script src="{{ relURL "js/jquery.magnific-popup.min.js" }}"></script>
+ <script src="{{ relURL "js/main.js" }}"></script>
+
+ {{- range .Site.Params.custom_scripts }}
+ <script src="{{ relURL . }}"></script>
+ {{- end -}}
diff --git a/layouts/partials/stylesheets.html b/layouts/partials/stylesheets.html
index ff67ab6..2cd8ec7 100644
--- a/layouts/partials/stylesheets.html
+++ b/layouts/partials/stylesheets.html
@@ -1,24 +1,22 @@
-<!-- Fonts -->
-<!-- Source Sans Pro -->
-<link href="https://fonts.googleapis.com/css?family=Droid+Serif:400i|Source+Sans+Pro:300,400,600,700" rel="stylesheet">
+ <!-- Fonts -->
+ <!-- Source Sans Pro -->
+ <link href="https://fonts.googleapis.com/css?family=Droid+Serif:400i|Source+Sans+Pro:300,400,600,700" rel="stylesheet">
-<link href="https://fonts.googleapis.com/css?family=Josefin+Sans:300,400,600,700" rel="stylesheet">
+ <link href="https://fonts.googleapis.com/css?family=Josefin+Sans:300,400,600,700" rel="stylesheet">
-<!-- CSS -->
+ <!-- CSS -->
-<!-- <link rel="stylesheet" href="css/bootstrap.min.css"> -->
-<!-- Bootstrap CDN -->
-<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.5/css/bootstrap.min.css" integrity="sha384-AysaV+vQoT3kOAXZkl02PThvDr8HYKPZhNT5h/CXfBThSRXQ6jW5DO2ekP5ViFdi" crossorigin="anonymous">
+ <!-- <link rel="stylesheet" href="css/bootstrap.min.css"> -->
+ <!-- Bootstrap CDN -->
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.5/css/bootstrap.min.css" integrity="sha384-AysaV+vQoT3kOAXZkl02PThvDr8HYKPZhNT5h/CXfBThSRXQ6jW5DO2ekP5ViFdi" crossorigin="anonymous">
-{{ with .Site.BaseURL }}
-<link rel="stylesheet" href="{{ . }}css/themefisher-fonts.css">
-<link rel="stylesheet" href="{{ . }}css/owl.carousel.css">
-<link rel="stylesheet" href="{{ . }}css/magnific-popup.css">
-<link rel="stylesheet" href="{{ . }}css/style.css">
+ <link rel="stylesheet" href="{{ relURL "css/themefisher-fonts.css" }}">
+ <link rel="stylesheet" href="{{ relURL "css/owl.carousel.css" }}">
+ <link rel="stylesheet" href="{{ relURL "css/magnific-popup.css" }}">
+ <link rel="stylesheet" href="{{ relURL "css/style.css" }}">
<!-- Responsive Stylesheet -->
-<link rel="stylesheet" href="{{ . }}css/responsive.css">
-{{ end }}
+ <link rel="stylesheet" href="{{ relURL "css/responsive.css" }}">
-{{ range .Site.Params.custom_stylesheets }}
-<link rel="stylesheet" href="{{ $.Site.BaseURL }}{{ . }}">
-{{ end }}
+{{- range .Site.Params.custom_stylesheets -}}
+ <link rel="stylesheet" href="{{ relURL . }}">
+{{- end -}}
diff --git a/layouts/partials/testimonials.html b/layouts/partials/testimonials.html
index f96aa8d..e60a54c 100644
--- a/layouts/partials/testimonials.html
+++ b/layouts/partials/testimonials.html
@@ -1,31 +1,31 @@
-{{ with .Site.Params.testimonials }}
-<section class="testimonials section">
- <div class="container">
- <div class="row">
- <div class="heading">
- <h2>{{ .title }}</h2>
- </div>
- {{ range first 3 .blocks }}
- <div class="col-md-4 text-center">
- <div class="testimonial-block">
- <i class="tf-ion-quote"></i>
- <p>{{ .text | markdownify }}</p>
- <div class="author-details">
- <img src="{{ .image }}" alt="">
- <h4>{{ .name }}</h4>
- <span>{{ .position }}</span>
+ {{- with .Site.Params.testimonials }}
+ <section class="testimonials section">
+ <div class="container">
+ <div class="row">
+ <div class="heading">
+ <h2>{{ .title }}</h2>
+ </div>
+ {{- range first 3 .blocks }}
+ <div class="col-md-4 text-center">
+ <div class="testimonial-block">
+ <i class="tf-ion-quote"></i>
+ <p>{{ .text | markdownify }}</p>
+ <div class="author-details">
+ <img src="{{ .image }}" alt="">
+ <h4>{{ .name }}</h4>
+ <span>{{ .position }}</span>
+ </div>
+ </div>
</div>
+ {{- end }}
+ </div>
+ <div class="row mt-100">
+ {{- with .button }}
+ <div class="col-md-12 text-center">
+ <a href="{{ .link }}" class="btn btn-main">{{ .text }}</a>
+ </div>
+ {{- end }}
</div>
</div>
- {{ end }}
- </div>
- <div class="row mt-100">
- {{ with .button }}
- <div class="col-md-12 text-center">
- <a href="{{ .link }}" class="btn btn-main">{{ .text }}</a>
- </div>
+ </section>
{{ end }}
- </div>
- </div>
-</section>
-{{ end }}