Skip to content

Commit

Permalink
fix post title so comments correctly work
Browse files Browse the repository at this point in the history
  • Loading branch information
prabirshrestha committed Jan 17, 2025
1 parent f12c551 commit 2e7353b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/posts/post.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@use crate::models::{posts::Post};
@(app_config: &AppConfig, post: &Post)

@:layout_html(app_config, &app_config.title, {
@:layout_html(app_config, &post.metadata.title, {
<article>
<header>
<h1>@post.metadata.title</h1>
Expand Down

0 comments on commit 2e7353b

Please sign in to comment.