From 8be945824c836aff30b5a792de690cd36a742555 Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Mon, 26 Sep 2022 23:59:35 +0200 Subject: [PATCH] refactor: move list of posts to main page --- layouts/index.html | 12 ++++++++++++ layouts/partials/header.html | 10 ---------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index e2d00a6..370fd26 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -4,5 +4,17 @@
{{ .Content }}
+ {{ range .Pages }} +

{{ .Title }}

+ + {{ end }} {{ end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index cf813a7..5188488 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -3,14 +3,4 @@ = {{ .Site.Title }} =
{{ strings.Repeat ( .Site.Title | len | add 4 ) "=" }}
{{ .Site.Params.subtitle }}

-

-

-