-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupdates.html
More file actions
38 lines (35 loc) · 1.11 KB
/
updates.html
File metadata and controls
38 lines (35 loc) · 1.11 KB
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
31
32
33
34
35
36
37
38
---
layout: default
title: Updates
permalink: /updates/
---
<div class="page">
<header class="page-header">
<h1 class="page-title">Lab Updates</h1>
<p class="page-subtitle">News, publications, and highlights from the C3 Lab</p>
</header>
<div class="page-content">
<div class="updates-list">
{% for post in site.posts %}
<article class="update-item">
<p class="update-date">{{ post.date | date: "%B %d, %Y" }}</p>
<h3 class="update-title">
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
</h3>
{% if post.categories %}
<p class="update-categories">
{% for category in post.categories %}
<span class="category">{{ category }}</span>
{% endfor %}
</p>
{% endif %}
<p class="update-excerpt">{{ post.excerpt | strip_html | truncate: 300 }}</p>
<a href="{{ post.url | relative_url }}">Read more →</a>
</article>
{% endfor %}
</div>
{% if site.posts.size == 0 %}
<p class="text-center">No updates yet. Check back soon!</p>
{% endif %}
</div>
</div>