feat: translate the site in french

This commit is contained in:
Bruno Carlin 2025-06-20 02:33:45 +02:00
parent 3e98ac15b6
commit b47b193b20
Signed by: bcarlin
GPG key ID: 8E254EA0FFEB9B6D
81 changed files with 1327 additions and 251 deletions

17
layouts/home.html Normal file
View file

@ -0,0 +1,17 @@
{{ define "main" }}
<article>
<header>
<h1>{{ .Title }}</h1>
</header>
{{ .Content }}
<section class="h-feed">
<h2 class="p-name">{{ T "recent_posts" }}</h2>
{{- $posts := where .Site.RegularPages "Section" "blog" }}
{{- range first 5 $posts }}
{{ .Render "list-item" }}
{{- end }}
</section>
</article>
{{ end }}