forked from drwpow/blog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.liquid
24 lines (23 loc) · 1.21 KB
/
index.liquid
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
layout: default.liquid
title: blog // Drew Powers
description: The personal blog of Drew Powers
---
<div class="wrapper" itemscope itemtype="https://schema.org/Blog">
{%- for post in collections.posts.pages -%}
<a class="postPreview" href="{{ site.base_url }}/{{ post.permalink }}" itemscope itemtype="http://schema.org/BlogPosting">
<div class="postPreview-tag">
{%- for tag in post.tags -%}
<span class="blog-tag blog-tag--{{ tag }}">{{ tag }}</span>
{%- endfor -%}
</div>
<h1 class="postPreview-title" itemprop="headline">{{ post.title }}</h1>
<time class="postPreview-date" datetime="{{ post.published_date }}" itemprop="datePublished">{{ post.published_date | date: "%e %b %Y" }}</time>
<div class="postPreview-summary" itemprop="description">{{ post.description }}</div>
<div class="postPreview-simlink">
read
<svg class="icon ml1r" aria-label="chevron-right" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.293 5.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L13.586 12 8.293 6.707a1 1 0 010-1.414z"/></svg>
</div>
</a>
{%- endfor -%}
</div>