Skip to content

Commit

Permalink
Add HTML support for the blog heading
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave-lab12 committed Feb 16, 2024
1 parent b61eedd commit dab384d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/blog/[blog_id]/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const blog = await getBlog();
<div class="hero__background"></div>

<div class="blog-content">
<h1 class="blog-heading">{blog?.title}</h1>
<h1 class="blog-heading" set:html={blog?.title} />
<div class="social-icons"></div>
<!-- <img class="heading-img" src={blog.photo_url} alt="" /> -->
<div
Expand Down

0 comments on commit dab384d

Please sign in to comment.