mirror of
https://github.com/zyllian/zyllian.github.io.git
synced 2025-05-09 18:16:43 -07:00
fix debug class being added to body in release mode
This commit is contained in:
parent
f55b8a8126
commit
126b38db7e
1 changed files with 1 additions and 0 deletions
|
@ -136,6 +136,7 @@ impl<'a> SiteBuilder<'a> {
|
||||||
Settings {
|
Settings {
|
||||||
element_content_handlers: vec![
|
element_content_handlers: vec![
|
||||||
element!("body", |el| {
|
element!("body", |el| {
|
||||||
|
#[cfg(debug_assertions)]
|
||||||
el.set_attribute("class", "debug")?;
|
el.set_attribute("class", "debug")?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue