From 3b771796f26c198f693ec4907c86104508fc0a2f Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Fri, 6 Mar 2026 07:10:05 +0100 Subject: [PATCH] Gestion du titre dans le contenu Markdown. --- content/blog/2026/02/premier-billet.md | 2 ++ content/blog/_index.md | 2 ++ layouts/list.html | 1 - layouts/page.html | 1 - layouts/section.html | 1 - layouts/single.html | 1 - 6 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/blog/2026/02/premier-billet.md b/content/blog/2026/02/premier-billet.md index 4e39fcc..ae935bd 100644 --- a/content/blog/2026/02/premier-billet.md +++ b/content/blog/2026/02/premier-billet.md @@ -8,6 +8,8 @@ tags: - général --- +# Premier Billet + Alors. Ça fait quelques temps que je me disais que ça pourrait être pas mal que je m'exprime un peu plus sur un blog. diff --git a/content/blog/_index.md b/content/blog/_index.md index 8826384..4b74140 100644 --- a/content/blog/_index.md +++ b/content/blog/_index.md @@ -5,3 +5,5 @@ outputs: menu: main title: Blog --- + +# Blog diff --git a/layouts/list.html b/layouts/list.html index c2e7875..7c5437d 100644 --- a/layouts/list.html +++ b/layouts/list.html @@ -1,5 +1,4 @@ {{ define "main" }} -

{{ .Title }}

{{ .Content }} {{ range .Pages }}

{{ .LinkTitle }}

diff --git a/layouts/page.html b/layouts/page.html index 4cfd224..e0e8308 100644 --- a/layouts/page.html +++ b/layouts/page.html @@ -1,4 +1,3 @@ {{ define "main" }} -

{{ .Title }}

{{ .Content }} {{ end }} diff --git a/layouts/section.html b/layouts/section.html index aea3492..a6be5f1 100644 --- a/layouts/section.html +++ b/layouts/section.html @@ -1,5 +1,4 @@ {{ define "main" }} -

{{ .Title }}

{{ .Content }} {{ range .Pages.ByDate.Reverse }}

{{ .LinkTitle }}

diff --git a/layouts/single.html b/layouts/single.html index 4cfd224..e0e8308 100644 --- a/layouts/single.html +++ b/layouts/single.html @@ -1,4 +1,3 @@ {{ define "main" }} -

{{ .Title }}

{{ .Content }} {{ end }}