add: post likes page
fix: requests pkey
This commit is contained in:
parent
bbb629336f
commit
b63df2cb31
11 changed files with 274 additions and 14 deletions
|
@ -72,6 +72,7 @@ pub const COMMUNITIES_QUESTIONS: &str = include_str!("./public/html/communities/
|
|||
pub const POST_POST: &str = include_str!("./public/html/post/post.html");
|
||||
pub const POST_REPOSTS: &str = include_str!("./public/html/post/reposts.html");
|
||||
pub const POST_QUOTES: &str = include_str!("./public/html/post/quotes.html");
|
||||
pub const POST_LIKES: &str = include_str!("./public/html/post/likes.html");
|
||||
|
||||
pub const TIMELINES_HOME: &str = include_str!("./public/html/timelines/home.html");
|
||||
pub const TIMELINES_POPULAR: &str = include_str!("./public/html/timelines/popular.html");
|
||||
|
@ -270,6 +271,7 @@ pub(crate) async fn write_assets(config: &Config) -> PathBufD {
|
|||
write_template!(html_path->"post/post.html"(crate::assets::POST_POST) -d "post" --config=config);
|
||||
write_template!(html_path->"post/reposts.html"(crate::assets::POST_REPOSTS) --config=config);
|
||||
write_template!(html_path->"post/quotes.html"(crate::assets::POST_QUOTES) --config=config);
|
||||
write_template!(html_path->"post/likes.html"(crate::assets::POST_LIKES) --config=config);
|
||||
|
||||
write_template!(html_path->"timelines/home.html"(crate::assets::TIMELINES_HOME) -d "timelines" --config=config);
|
||||
write_template!(html_path->"timelines/popular.html"(crate::assets::TIMELINES_POPULAR) --config=config);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue