From d2d53ef556f30f73f2a1a9629edde7200ffc7f6c Mon Sep 17 00:00:00 2001
From: Alexander Bilz <mail@alexbilz.com>
Date: Tue, 25 May 2021 19:06:35 +0000
Subject: [PATCH] Fix Formatting issue of _index.md
---
layouts/index.html | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/layouts/index.html b/layouts/index.html
index 4978361..b2bbfa0 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,13 +1,15 @@
{{ define "main" }}
-
<div class="post {{ with .Site.Params.doNotLoadAnimations }} . {{ else }} animated fadeInDown {{ end }}">
+ <div class="post-title post-content">
+ {{ .Content }}
+ </div>
+
<!-- (Optional) Home
-- on top of `mainSections` content (aka posts) ;
-- as declared in content/_index.md
One can set `mainSections = [""]` and have the content/_index.md specified here
-->
- {{ .Content }}
</div>
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
--
Gitblit v1.10.0