aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2023-03-28 18:24:16 -0400
committerXe Iaso <me@xeiaso.net>2023-03-28 18:24:16 -0400
commit82ba3a11575337d03b7bcfaf216de40071d20e79 (patch)
tree6792fa8c299eaf88e794f9bc8d09acae2da91160 /src
parent15b16baa19a606c962dc749d5e0e115c55e6bfe1 (diff)
downloadxesite-82ba3a11575337d03b7bcfaf216de40071d20e79.tar.xz
xesite-82ba3a11575337d03b7bcfaf216de40071d20e79.zip
atom feed: show content
Closes #609 Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'src')
-rw-r--r--src/app/config.rs2
-rw-r--r--src/handlers/streams.rs2
-rw-r--r--src/main.rs1
-rw-r--r--src/tmpl/nag.rs1
4 files changed, 2 insertions, 4 deletions
diff --git a/src/app/config.rs b/src/app/config.rs
index fd0ac6b..e1a9b53 100644
--- a/src/app/config.rs
+++ b/src/app/config.rs
@@ -1,6 +1,6 @@
use crate::signalboost::Person;
use chrono::prelude::*;
-use maud::{html, Markup, PreEscaped, Render};
+use maud::{html, Markup, Render};
use serde::{Deserialize, Serialize};
use std::{
collections::HashMap,
diff --git a/src/handlers/streams.rs b/src/handlers/streams.rs
index 0d582a8..3eb3b27 100644
--- a/src/handlers/streams.rs
+++ b/src/handlers/streams.rs
@@ -1,6 +1,6 @@
use crate::{
app::{State, VOD},
- tmpl::{base, nag},
+ tmpl::base,
};
use axum::{extract::Path, Extension};
use chrono::prelude::*;
diff --git a/src/main.rs b/src/main.rs
index d24086c..90f8fba 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -10,7 +10,6 @@ use axum::{
Router,
};
use color_eyre::eyre::Result;
-use hyper::StatusCode;
use prometheus::{Encoder, TextEncoder};
use std::{
env,
diff --git a/src/tmpl/nag.rs b/src/tmpl/nag.rs
index 7d5f4d8..6ecbf41 100644
--- a/src/tmpl/nag.rs
+++ b/src/tmpl/nag.rs
@@ -1,5 +1,4 @@
use crate::post::Post;
-use chrono::prelude::*;
use lazy_static::lazy_static;
use maud::{html, Markup};
use regex::Regex;