feat: allow subdirs in posts
directory #86
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ struct BlogPostTemplate {
|
|||
toc: String,
|
||||
}
|
||||
|
||||
#[get("/blog/p/{id}")]
|
||||
#[get("/blog/p/{id:.*}")]
|
||||
pub async fn page(path: web::Path<(String,)>, config: web::Data<Config>) -> impl Responder {
|
||||
Html(build_post(
|
||||
&path.into_inner().0,
|
||||
|
|
Loading…
Reference in a new issue