Improved the post page
This commit is contained in:
@ -123,9 +123,9 @@ async fn show_post(path: web::Path<(u64, String)>, req: HttpRequest) -> impl Res
|
||||
}
|
||||
|
||||
let _ = &mut ret_text.push_str(&format!("\n\
|
||||
<b>This is the link to your post. Don't lose it !\
|
||||
It can also be accessed raw using Curl or Wget.</b><br>\n\
|
||||
><i>{} @{}</i><br><br>\n<pre>\n", post.name, post.date));
|
||||
<b>Save the link to this page ! We will not store it anywhere.</b><br><br><i>\
|
||||
This page can be also be accessed using curl or wget.</i><hr>\n\
|
||||
<h2>{}</h2>\n<i>{}</i><br><br>\n<pre>\n", post.name, post.date));
|
||||
|
||||
let _ = match decrypt(post.crypt, &password) {
|
||||
Ok(v) => {
|
||||
|
||||
Reference in New Issue
Block a user