From 331e999b722e296cd3027380e58d02d92dca21b6 Mon Sep 17 00:00:00 2001 From: Christophe Vandeplas Date: Mon, 31 Jan 2022 18:35:01 +0100 Subject: [PATCH] chg: [communities] support for gen_website_communities.py script --- config.toml | 7 ++++++- static/css/custom.css | 14 ++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 56ecfa6..d6dff57 100644 --- a/config.toml +++ b/config.toml @@ -182,7 +182,7 @@ disablePathToLower = "True" post = 2 [[menu.main]] - name = "Who" + name = "The core team" url = "/who/" weight = 3 parent = "section.who" @@ -492,3 +492,8 @@ disablePathToLower = "True" category = "categories" tag = "tags" author = "authors" + +[markup] + [markup.goldmark] + [markup.goldmark.renderer] + unsafe = true \ No newline at end of file diff --git a/static/css/custom.css b/static/css/custom.css index 2d50bbf..5b17f7c 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -43,6 +43,20 @@ height: auto; } +/* custom pages */ +.community_logo { + float: right; + max-width: 300px; + max-height: 150px; +} + +summary:before { + content: "\25BA"; + margin-right: 0.25em; +} +details[open]>summary:before, details.open>summary:before { + content: "\25BC"; +} /* delivered with example site */ .box-image-text .image { min-height: 190px;