100-Days-Of-Code/Visual Studio Code Projects/day-60-starting-files-blog-with-contact-form/templates/post.html

32 lines
1.0 KiB
HTML

{% include "header.html" %}
<!-- Page Header-->
<header class="masthead" style="background-image: url('{{ post.image_url }}')">
<div class="container position-relative px-4 px-lg-5">
<div class="row gx-4 gx-lg-5 justify-content-center">
<div class="col-md-10 col-lg-8 col-xl-7">
<div class="post-heading">
<h1>{{ post.title }}</h1>
<h2 class="subheading">{{ post.subtitle }}</h2>
<span class="meta">Posted by
<a href="#">{{ post.author }}</a>
on {{ post.date }}
</span>
</div>
</div>
</div>
</div>
</header>
<!-- Post Content-->
<article class="mb-4">
<div class="container px-4 px-lg-5">
<div class="row gx-4 gx-lg-5 justify-content-center">
<div class="col-md-10 col-lg-8 col-xl-7">
<p>{{ post.body }}
</div>
</div>
</div>
</article>
{% include "footer.html" %}