From 52da16511193ae89102a3ccdcb48d276949f1846 Mon Sep 17 00:00:00 2001
From: Alexander Bilz <mail@alexbilz.com>
Date: Thu, 10 Dec 2020 19:54:00 +0000
Subject: [PATCH] Merge pull request #97 from karolkania/feature/home-and-contact-and-highlight
---
layouts/index.html | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/layouts/index.html b/layouts/index.html
index ee00591..7b91878 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,6 +1,18 @@
{{ define "main" }}
+
+ <div class="post {{ with .Site.Params.doNotLoadAnimations }} . {{ else }} animated fadeInDown {{ end }}">
+ <!-- (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) }}
{{ range $paginator.Pages }}
+
<div class="post {{ with .Site.Params.doNotLoadAnimations }} . {{ else }} animated fadeInDown {{ end }}">
<div class="post-title">
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a>
--
Gitblit v1.10.0