Commit 2040bb5c authored by Sidorela Uku's avatar Sidorela Uku

added latest blogposts to homepage

parent eeffe8f9
......@@ -111,8 +111,49 @@ layout: page
<img src="/assets/media/dependencies/circle11.png" data-parallax='{"y" : 250}' alt="shape">
</div>
</section>
<section id="blog-grid">
<div class="container">
<div class="section-title color-two text-center">
<h3 class="sub-title wow pixFadeUp">News & Updates</h3>
<h2 class="title wow pixFadeUp" data-wow-delay="0.3s">
Our latest posts
</h2>
</div>
<div class="row">
{% for post in site.posts limit:3 %}
<div class="col-lg-4 col-md-6" style="margin-top: 3%;">
<article class="post-post-grid">
<div class="feature-image">
<a href="{{ post.url }}">
<img src="/assets/media/blog/{{post.category}}/thumbnail/{{ post.thumbnail }}" alt="">
</a>
</div>
<div class="blog-content">
<ul class="post-meta">
<li><a style="color:#000;">{{ post.date | date_to_long_string }}</a></li>
</ul>
<h3 class="entry-title"><a href="{{ post.url }}">{{ post.title }}</a></h3>
{% assign author = site.data.authors[post.author] %}
<div class="author">
<img src="{{author.photo}}" alt="author">
<a style="color:#000;" class="author-link">{{ author.name }}</a>
</div>
</div>
</article>
</div>
{% endfor %}
</div>
</div>
</section>
<section class="call-to-action">
<div class="overlay-bg"><img src="/assets/media/dependencies/ellipse.png?{{site.time | date: '%s%N'}}" alt="bg"></div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment