Repository navigation
Expand file tree
/
Copy pathposts.html
More file actions
27 lines (27 loc) · 1.52 KB
/
Copy pathposts.html
File metadata and controls
27 lines (27 loc) · 1.52 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
---
layout: default
title: Post
permalink: /posts/
---
<main id="main" class="post-index">
<header class="archive-index-intro"><p class="eyebrow">post</p><h1>생각한 것</h1></header>
{% assign post_count = site.archive_catalog | size %}
<div class="archive-index-controls"><output class="archive-index-count" aria-label="표시 중인 글 수">{{ post_count }}/{{ post_count }}</output></div>
<div class="catalog mixed-archive">
{% for entry in site.archive_catalog %}
<article class="catalog-row"{% if entry.kind == 'series' %} id="{{ entry.book.id }}"{% endif %}>
<time class="date" datetime="{{ entry.date | date: '%Y-%m-%d' }}">{{ entry.date | date: '%y-%m-%d' }}</time>
<div class="catalog-title-cell">
{% if entry.kind == 'series' %}{% assign book = entry.book %}
<details class="archive-topic">
<summary class="catalog-title-row"><span class="catalog-title">{{ book.title | escape }}</span><span class="series-badge" aria-label="연재 시리즈">SERIES</span><span class="archive-list-toggle"><span class="when-closed">목록 보기 +</span><span class="when-open">목록 닫기 −</span></span></summary>
<div class="mixed-children">{% include book-toc.html book=book variant="catalog" %}</div>
</details>
{% else %}{% assign post = entry.document %}
<div class="catalog-title-row"><a class="catalog-title" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a></div>
{% endif %}
</div>
</article>
{% endfor %}
</div>
</main>