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/page.html Normal file
View file

@ -0,0 +1,17 @@
{{ define "main" }}
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
{{ $dateHuman := .Date | time.Format ":date_short" }}
<article class="h-entry">
<header>
<h1 class="p-name">{{ .Title }}</h1>
<p>
{{ T "posted" }}
<time class="dt-published" datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
</p>
</header>
<section class="e-content">
{{ .Content }}
</section>
</article>
{{ end }}