diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-10-31 09:40:52 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-10-31 09:40:52 +0200 |
commit | 93b2a8382607d35435518ea73308dee72fb6e547 (patch) | |
tree | e517b456ad363ecf9148136dcfb2c627468583a7 | |
parent | ad26e9d84925532ae5522aad8def5d764fe0ffbe (diff) | |
download | subplot-93b2a8382607d35435518ea73308dee72fb6e547.tar.gz |
div for page body class
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
-rw-r--r-- | src/doc.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -171,6 +171,7 @@ impl Document { self.meta.set_date(date.into()); let mut body_content = Element::new(crate::html::ElementTag::Div); + body_content.push_attribute(Attribute::new("class", "content")); for md in self.markdowns.iter() { body_content.push_child(Content::Elt(md.root_element().clone())); } |