Homepage blog format updates.
This commit is contained in:
parent
cbfcf3a3d1
commit
a0d3ee1679
6 changed files with 42 additions and 53 deletions
27
index.html
27
index.html
|
@ -2,23 +2,16 @@
|
|||
layout: default
|
||||
---
|
||||
|
||||
<ul class="posts">
|
||||
<div class="posts">
|
||||
{% for post in site.posts %}
|
||||
<li>
|
||||
<article class="post">
|
||||
<header>
|
||||
<time datetime="{{ post.date }}">{{ post.date | date: "%m.%d.%Y" }}</time>
|
||||
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
|
||||
</header>
|
||||
<article class="post">
|
||||
<header>
|
||||
<h2>{{ post.title }}</h2>
|
||||
</header>
|
||||
|
||||
<div class="entry">
|
||||
{{ post.content | truncatewords:85}}
|
||||
|
||||
<p class="read-more">
|
||||
<a href="{{ post.url }}">Read more</a>
|
||||
</p>
|
||||
</div>
|
||||
</article>
|
||||
</li>
|
||||
<div class="entry">{{ post.content | truncatewords:50}}</div>
|
||||
|
||||
<a href="{{ post.url }}">Read More</a>
|
||||
</article>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue