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; +}