-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblog.html
More file actions
41 lines (37 loc) · 1.18 KB
/
Copy pathblog.html
File metadata and controls
41 lines (37 loc) · 1.18 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
39
40
41
---
layout: default
title: RTV — Archive
nav: blog
address: "C:\\Users\\RTV\\Blog\\Archive"
item_count: "{{ site.posts.size }} items"
---
{% include sidebar.html %}
<div class="explorer-main">
<div class="file-list-header">
<span class="col-name">Name</span>
<span class="col-date">Date</span>
<span class="col-type">Tags</span>
</div>
{% for post in site.posts %}
<div class="file-row" data-slug="{{ post.slug }}" data-tags="{{ post.tags | join: ',' }}">
{% if post.thumbnail %}
<div class="row-thumb" style="background-image: url('{{ post.thumbnail }}')"></div>
{% else %}
<div class="row-thumb row-thumb--empty">📄</div>
{% endif %}
<div class="row-info">
<span class="row-name">{{ post.title }}</span>
<span class="row-excerpt">{{ post.excerpt | strip_html | truncate: 60 }}</span>
</div>
<span class="row-date">{{ post.date | date: '%Y-%m-%d' }}</span>
<div class="row-tags">
{% for tag in post.tags %}
<span class="tag-chip">{{ tag }}</span>
{% endfor %}
</div>
</div>
{% endfor %}
{% if site.posts.size == 0 %}
<p class="empty" style="padding: 2rem 0.75rem;">( empty )</p>
{% endif %}
</div>