From d41f3facd7653f3e5a3d242e8ee5ce84a59c5580 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Fri, 29 Apr 2022 23:54:45 -0500 Subject: [PATCH] Add a couple divs in index.html for organization --- layouts/index.html | 44 ++++++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index ce2e79f..1b897b2 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,29 +1,33 @@ {{ define "main" }} {{ with .Content }} - {{ . }} +
+ {{ . }} +
{{ end }} {{ if .Site.Params.homepageLatestPosts }} -
-

- {{ i18n "latest_posts" }} - {{ partial "rss-link.html" . }} -

+
+
+

+ {{ i18n "latest_posts" }} + {{ partial "rss-link.html" . }} +

- {{ with (.Paginate .Site.RegularPages).Pages }} -
-
    - {{ range . }} -
  • {{ .Render "summary/post" }}
  • - {{ end }} -
-
- {{ else }} -
- {{ i18n "no_posts" }} -
- {{ end }} + {{ with (.Paginate .Site.RegularPages).Pages }} +
+
    + {{ range . }} +
  • {{ .Render "summary/post" }}
  • + {{ end }} +
+
+ {{ else }} +
+ {{ i18n "no_posts" }} +
+ {{ end }} - {{ partial "pagination.html" . }} + {{ partial "pagination.html" . }} +
{{ end }} {{ end }}