mirror of
https://github.com/itme-brain/itme-brain.github.io.git
synced 2026-03-23 20:19:43 -04:00
overhaul
This commit is contained in:
parent
8c6b8d5d9b
commit
9576fe3e3f
21 changed files with 980 additions and 138 deletions
18
_layouts/blog.html
Normal file
18
_layouts/blog.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: base
|
||||
---
|
||||
<div class="blog-list">
|
||||
{% if site.posts.size == 0 %}
|
||||
<p style="color: var(--color-text-secondary);">No posts yet.</p>
|
||||
{% else %}
|
||||
{% for post in site.posts %}
|
||||
<div class="post-preview">
|
||||
<span class="post-date">{{ post.date | date: "%B %-d, %Y" }}</span>
|
||||
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
||||
{% if post.description %}
|
||||
<p class="post-description">{{ post.description }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue