From 75d235c17ed4988104c7beb8d1ea6c5124c37af0 Mon Sep 17 00:00:00 2001 From: kbe Date: Wed, 20 Aug 2025 14:34:13 +0200 Subject: [PATCH] Add link to articles --- layouts/index.html | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index 6e5b69b..08d3d11 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -32,16 +32,18 @@ {{ range first 2 $.Site.RegularPages }}
- {{ if .Params.featured_image }} - {{ .Title }} - {{ else }} - {{ .Title }} - {{ end }} + + {{ if .Params.featured_image }} + {{ .Title }} + {{ else }} + {{ .Title }} + {{ end }} +
{{ range first 2 .Params.categories }} - {{ . }} + {{ . }} {{ end }}

@@ -59,11 +61,11 @@
{{ .Params.author }} - {{ .Params.author }} + {{ .Params.author }} {{ .Date | time.Format "Jan 2, 2006" }}
- Read more → + Lire la suite →

@@ -87,15 +89,17 @@
{{ range first 6 (after 2 $.Site.RegularPages) }}
- {{ if .Params.featured_image }} - {{ .Title }} - {{ else }} - {{ .Title }} - {{ end }} + + {{ if .Params.featured_image }} + {{ .Title }} + {{ else }} + {{ .Title }} + {{ end }} +
{{ range first 1 .Params.categories }} - {{ . }} + {{ . }} {{ end }}

{{ .Title }}

@@ -110,6 +114,7 @@

{{ .Date | time.Format "Jan 2, 2006" }} + Read more →