chore: added layouts

This commit is contained in:
2023-06-25 17:58:16 +09:00
parent 46364090e5
commit b6b2ac78e9
10 changed files with 645 additions and 0 deletions

24
_layouts/category.html Normal file
View File

@@ -0,0 +1,24 @@
---
layout: page
# The Category layout
---
{% include lang.html %}
<div id="page-category" class="mb-5">
<h1 class="ps-lg-2">
<i class="far fa-folder-open fa-fw text-muted"></i>
{{ page.title }}
<span class="lead text-muted ps-2">{{ page.posts | size }}</span>
</h1>
<ul class="post-content ps-0">
{% for post in page.posts %}
<li class="d-flex justify-content-between px-md-3">
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
<span class="dash flex-grow-1"></span>
{% include datetime.html date=post.date wrap='span' class='text-muted small' lang=lang %}
</li>
{% endfor %}
</ul>
</div>