-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblog.html
More file actions
30 lines (26 loc) · 790 Bytes
/
blog.html
File metadata and controls
30 lines (26 loc) · 790 Bytes
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
28
29
30
---
layout: default
title: Blog
description: Thoughts on data engineering, tech, and career
permalink: /blog/
---
<a href="{{ '/' | relative_url }}" class="back-link">← Back</a>
<header>
<h1>Blog</h1>
</header>
<section class="posts">
{% for post in site.posts %}
<article class="post-preview">
<a href="{{ post.url | relative_url }}">
<h2>{{ post.title }}</h2>
<p class="post-meta">{{ post.date | date: "%B %d, %Y" }}</p>
{% if post.excerpt %}
<p class="post-excerpt">{{ post.excerpt | strip_html | truncate: 160 }}</p>
{% endif %}
</a>
</article>
{% endfor %}
{% if site.posts.size == 0 %}
<p class="empty-state">No posts yet. Check back soon.</p>
{% endif %}
</section>