From 2ffb4215645b463e9755d9663c100728fe0ebb57 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Fri, 29 Nov 2024 18:06:57 +0300 Subject: Новый пост + небольшие фиксы MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/_default/home.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'layouts/_default') diff --git a/layouts/_default/home.html b/layouts/_default/home.html index 99524d3..b160025 100644 --- a/layouts/_default/home.html +++ b/layouts/_default/home.html @@ -11,12 +11,14 @@
-
- {{ .Content }} -
+ {{ if .Params.Image }} + + {{ end }} +
{{ .Summary }}
+
{{ .Content }}
{{ $pages := where site.RegularPages "Type" "posts" }} {{ $paginator := .Paginate $pages 7 }} -- cgit v1.2.3