mirror of
https://git.anonymousland.org/anonymousland/anonymousland.git
synced 2025-06-06 05:18:48 -04:00
Added blog layout
This commit is contained in:
parent
faa5fd067f
commit
059b29f3a2
1 changed files with 15 additions and 0 deletions
15
_layouts/blog-index
Normal file
15
_layouts/blog-index
Normal 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 -></a></b>
|
||||||
|
{% endif %}
|
||||||
|
<br/>
|
||||||
|
<div style="margin-bottom: 5em;"></div>
|
||||||
|
{% endfor %}
|
Loading…
Add table
Add a link
Reference in a new issue