From 392ab0f42f5edf5340c1c3243a45bbc395b0f569 Mon Sep 17 00:00:00 2001
From: Karol Kania <999044+khanyooh@users.noreply.github.com>
Date: Fri, 04 Dec 2020 21:09:07 +0000
Subject: [PATCH] Make the animated loading an option in config file

---
 layouts/index.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/layouts/index.html b/layouts/index.html
index 08bd860..9815fa5 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,7 +1,7 @@
 {{ define "main" }}
     {{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
     {{ range $paginator.Pages }}
-        <div class="post animated fadeInDown">
+        <div class="post {{ with .Site.Params.animatedLoading }} animated fadeInDown {{ end }}">
             <div class="post-title">
                 <h3><a href="{{ .RelPermalink }}">{{ .Title }}</a>
                 </h3>

--
Gitblit v1.10.0