-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhighlights.html
More file actions
31 lines (28 loc) · 979 Bytes
/
highlights.html
File metadata and controls
31 lines (28 loc) · 979 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
31
---
layout: default
title: Highlights
---
<div class="section-page">
<h1>Highlights</h1>
<p class="section-description">Featured work and key achievements</p>
<ul class="posts">
{% assign highlighted_posts = site.posts | where_exp:"post", "post.tags contains 'highlight'" %}
{% for post in highlighted_posts %}
<li>
<span class="post-date">{{ post.date | date_to_string }}</span>
»
{% if post.external_url %}
<a href="{{ post.external_url }}" target="_blank" rel="noopener">{{ post.title }}</a>
{% else %}
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
{% endif %}
{% if post.description %}
<div class="post-description">{{ post.description }}</div>
{% endif %}
</li>
{% endfor %}
</ul>
{% if highlighted_posts.size == 0 %}
<p>No highlights yet.</p>
{% endif %}
</div>