Added blog layout

This commit is contained in:
deathrow 2022-05-21 23:41:24 -04:00
parent faa5fd067f
commit 059b29f3a2
No known key found for this signature in database
GPG Key ID: FF39D67A22069F73

15
_layouts/blog-index Normal file
View File

@ -0,0 +1,15 @@
---
layout: page
---
{% for post in site.posts %}
<a href="{{ post.url | prepend: site.baseurl }}">
<h1 class="post-title"> {{ post.title }}</h1>
<h5 class="post-title"> {{ post.date }} </h5>
</a>
{{post.excerpt}}
{% if post.content contains site.excerpt_separator %}
<b><a href="{{ post.url | prepend: site.baseurl }}">continue reading -&gt;</a></b>
{% endif %}
<br/>
<div style="margin-bottom: 5em;"></div>
{% endfor %}