add: forum threads ui

This commit is contained in:
trisua 2025-08-05 16:33:53 -04:00
parent 155fe34c6e
commit 3958d5eaef
8 changed files with 260 additions and 15 deletions

View file

@ -88,6 +88,8 @@ pub const POST_POST: &str = include_str!("./public/html/post/post.lisp");
pub const POST_REPOSTS: &str = include_str!("./public/html/post/reposts.lisp");
pub const POST_QUOTES: &str = include_str!("./public/html/post/quotes.lisp");
pub const POST_LIKES: &str = include_str!("./public/html/post/likes.lisp");
pub const POST_FORUM_QUICK_REPLIES: &str =
include_str!("./public/html/post/forum_quick_replies.lisp");
pub const TIMELINES_HOME: &str = include_str!("./public/html/timelines/home.lisp");
pub const TIMELINES_POPULAR: &str = include_str!("./public/html/timelines/popular.lisp");
@ -327,6 +329,7 @@ pub(crate) async fn write_assets(config: &Config) -> PathBufD {
write_template!(html_path->"post/reposts.html"(crate::assets::POST_REPOSTS) --config=config --lisp plugins);
write_template!(html_path->"post/quotes.html"(crate::assets::POST_QUOTES) --config=config --lisp plugins);
write_template!(html_path->"post/likes.html"(crate::assets::POST_LIKES) --config=config --lisp plugins);
write_template!(html_path->"post/forum_quick_replies.html"(crate::assets::POST_FORUM_QUICK_REPLIES) --config=config --lisp plugins);
write_template!(html_path->"timelines/home.html"(crate::assets::TIMELINES_HOME) -d "timelines" --config=config --lisp plugins);
write_template!(html_path->"timelines/popular.html"(crate::assets::TIMELINES_POPULAR) --config=config --lisp plugins);