Hide links to paper on riddle page
This commit is contained in:
parent
d790170e3a
commit
d12bacafa5
|
@ -11,6 +11,7 @@ This is a paper I, together with three of my collegues wrote for the mandatory t
|
|||
|
||||
# Computing CMB temperature fluctuations for spherical spaces
|
||||
|
||||
:::: comment
|
||||
## Links
|
||||
|
||||
::: embed-description
|
||||
|
@ -18,6 +19,7 @@ This is a paper I, together with three of my collegues wrote for the mandatory t
|
|||
|
||||
- Paper: [source](https://git.moonythm.dev/ddd/bachelor-prep-paper), [pdf](https://git.moonythm.dev/ddd/bachelor-prep-paper/raw/branch/master/main.pdf)
|
||||
- Presentation: [source](https://git.moonythm.dev/ddd/bachelor-prep-presentation), [pdf](https://git.moonythm.dev/ddd/bachelor-prep-presentation/raw/branch/master/main.pdf)
|
||||
::::
|
||||
|
||||
## Solve my riddle!
|
||||
|
||||
|
|
10
src/html.rs
10
src/html.rs
|
@ -116,6 +116,11 @@ impl<'s> Writer<'s> {
|
|||
self.states.pop();
|
||||
return Ok(());
|
||||
}
|
||||
// Nest ignores for nested containers
|
||||
Event::Start(Container::Div { .. }, _) => {
|
||||
self.states.push(State::Ignore);
|
||||
return Ok(());
|
||||
}
|
||||
_ => return Ok(()),
|
||||
}
|
||||
}
|
||||
|
@ -412,6 +417,11 @@ impl<'s> Writer<'s> {
|
|||
self.states.push(State::Ignore);
|
||||
}
|
||||
// }}}
|
||||
// {{{ Block comments
|
||||
Container::Div { class: "comment" } => {
|
||||
self.states.push(State::Ignore);
|
||||
}
|
||||
// }}}
|
||||
// {{{ Embed description
|
||||
Container::Div {
|
||||
class: "embed-description",
|
||||
|
|
Loading…
Reference in a new issue