forked from CloudCannon/jekyll-learn-blog-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
27 lines (25 loc) · 773 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
layout: page
title: Home
---
<p class="featured">Featured posts</p>
<h2 class="heading-secondary dark-blue">Latest posts</h2>
<div class="includes-grid">
{% include youtube.html youtube_id="7W7hEUGtv4U" %}
{% include youtube.html youtube_id="E3a88_SjJR0" %}
</div>
<p class="featured">Featured posts</p>
<h2 class="heading-secondary dark-blue">Latest posts</h2>
<div class="post-row">
{% for post in site.posts %}
<div class="post-front">
<img class="post-front__image" src="{{ post.image }}">
<a class="preview-title" href="{{ post.url }}">{{ post.title }}</a>
<div class="tag-group">
{% for tag in post.tags %}
<div class="tag"><span class="tag-text">{{ tag }}</span></div>
{% endfor %}
</div>
</div>
{% endfor %}
</div>