diff options
author | Cara Salter <cara@devcara.com> | 2022-02-02 02:23:50 -0500 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2022-02-02 02:23:50 -0500 |
commit | 8b2d12e799d01059843a8eeb1eb8ff3899d2d274 (patch) | |
tree | f0fe36dd5e225e42253997e0faa233317ea0117d /src/misc | |
parent | 22ee6a2efacb608647edc6f834b6949c0c73d199 (diff) | |
download | site-8b2d12e799d01059843a8eeb1eb8ff3899d2d274.tar.gz site-8b2d12e799d01059843a8eeb1eb8ff3899d2d274.zip |
internal: Make footnotes work
Apparently, the footnotes and superscript extensions conflicted with
each other.
Diffstat (limited to 'src/misc')
-rw-r--r-- | src/misc/mod.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/misc/mod.rs b/src/misc/mod.rs index 5942b8c..c2992cc 100644 --- a/src/misc/mod.rs +++ b/src/misc/mod.rs @@ -1,10 +1,9 @@ pub mod handlers { - use color_eyre::Result; - use warp::{Reply, Rejection, http::Response}; use crate::templates::{self, Html, RenderRucte}; + use color_eyre::Result; + use warp::{http::Response, Rejection, Reply}; pub async fn index() -> Result<impl Reply, Rejection> { - Response::builder() - .html(|o| templates::index_html(o)) + Response::builder().html(|o| templates::index_html(o)) } } |