Styling the blog posts
Your page can contain a list of blog posts, each post starting with a relevant photo. In the example we'll show only one blog post. The blog post may look like that shown in the following screenshot:
The HTML code for each blog post, saved in the html/pages/index.html
file, will look like the following:
<article> <img src="{{root}}images/blog1.png" class="img-fluid"> <div class="blog-post"> <header><h1>Blog post 1</h1><time>16:00:00 01/01/2018</time></header> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget...