From 2fa809be316334ea8f2b294f36ac5666da178dfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan=20Peccini?= Date: Fri, 27 Jun 2025 13:18:19 +0200 Subject: [PATCH] =?UTF-8?q?feat(css)=20:=20am=C3=A9lioration=20de=20la=20p?= =?UTF-8?q?r=C3=A9sentation=20des=20articles=20et=20ajout=20de=20l'int?= =?UTF-8?q?=C3=A9gration=20du=20html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hugo.toml | 4 ++++ static/css/custom.css | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/hugo.toml b/hugo.toml index 28a4a74..2196656 100644 --- a/hugo.toml +++ b/hugo.toml @@ -8,6 +8,9 @@ theme = "binario" category = "categories" tag = "tags" +[markup.goldmark.renderer] +unsafe = true + [Params] description = "FabNum, le blog des vulnérabilités de la fabrication du numérique" author = "Stéphan Peccini" @@ -19,6 +22,7 @@ comments = true related = true # Enable Related content for single pages relatedMax = 5 customCSS = ["css/custom.css"] +image = true [Params.Entry] meta = ["date", "tags", "categories", "readingtime"] toc = true # Enable Table of Contents diff --git a/static/css/custom.css b/static/css/custom.css index 5ce263c..0cb9261 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -31,3 +31,13 @@ article img { a { text-decoration: underline; } + +h3 { + text-align: center; + margin-top: 2em; + margin-bottom: 1em; +} + +p { + text-indent: 20px; +}