feat: Initial commit :)
This commit is contained in:
25
_layouts/posts.html
Normal file
25
_layouts/posts.html
Normal file
@ -0,0 +1,25 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
{{ content }}
|
||||
<h1>{{ page.title }}</h1>
|
||||
{{ page.description }}
|
||||
|
||||
{% for post in site.posts %}
|
||||
<article>
|
||||
<h2>
|
||||
<a href="{{ site.baseurl }}{{ post.url }}" class="page-link">
|
||||
{{ post.title }}
|
||||
</a>
|
||||
</h2>
|
||||
<small>
|
||||
<time datetime="{{ post.date | date: "%Y-%m-%d" }}">{{ post.date | date_to_long_string }}</time>
|
||||
{% if post.tags %}
|
||||
{% if post.tags.size > 0 %}
|
||||
• {{ post.tags | join: ', ' }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</small>
|
||||
</article>
|
||||
{% endfor %}
|
Reference in New Issue
Block a user