From 37086ad1121212347ca32acc233ab14cce0c12e7 Mon Sep 17 00:00:00 2001 From: Thomas Letan Date: Wed, 2 Sep 2020 00:03:40 +0200 Subject: Knitting is a thing now --- site/cleopatra/soupault.org | 1 + site/cleopatra/theme.org | 8 ++++++++ 2 files changed, 9 insertions(+) (limited to 'site/cleopatra') diff --git a/site/cleopatra/soupault.org b/site/cleopatra/soupault.org index 2c3eb4e..d86c5d1 100644 --- a/site/cleopatra/soupault.org +++ b/site/cleopatra/soupault.org @@ -173,6 +173,7 @@ behavior. For now, only ~~ has been affected. #+BEGIN_SRC lua :tangle plugins/fix-org-urls.lua fix_org_urls(HTML.select(page, "a"), "href") +fix_org_urls(HTML.select(page, "img"), "src") #+END_SRC The configuration of this plugin, and the associated widget, is straightforward. diff --git a/site/cleopatra/theme.org b/site/cleopatra/theme.org index 296e167..c828807 100644 --- a/site/cleopatra/theme.org +++ b/site/cleopatra/theme.org @@ -172,6 +172,14 @@ pre font-size : 80% line-height : 140% +#gallery + display : flex + flex-wrap : wrap + align-content : flex-start + + img + width : 20rem + @import plugins @import org @import coq -- cgit v1.2.3