mirror of
https://github.com/zyllian/zyllian.github.io.git
synced 2025-05-09 18:16:43 -07:00
move cfg to the right spot oops
This commit is contained in:
parent
126b38db7e
commit
8bf0cb4e55
1 changed files with 1 additions and 1 deletions
|
@ -135,8 +135,8 @@ impl<'a> SiteBuilder<'a> {
|
||||||
let mut rewriter = HtmlRewriter::new(
|
let mut rewriter = HtmlRewriter::new(
|
||||||
Settings {
|
Settings {
|
||||||
element_content_handlers: vec![
|
element_content_handlers: vec![
|
||||||
element!("body", |el| {
|
|
||||||
#[cfg(debug_assertions)]
|
#[cfg(debug_assertions)]
|
||||||
|
element!("body", |el| {
|
||||||
el.set_attribute("class", "debug")?;
|
el.set_attribute("class", "debug")?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue