Change order of post excerpt processing
This commit is contained in:
parent
19a1eabc48
commit
9ecf26af73
10
index.html
10
index.html
@ -9,23 +9,23 @@ subtitle: This is where I will tell my friends way too much about me
|
|||||||
<article class="post-preview">
|
<article class="post-preview">
|
||||||
<a href="{{ post.url | prepend: site.baseurl }}">
|
<a href="{{ post.url | prepend: site.baseurl }}">
|
||||||
<h2 class="post-title">{{ post.title }}</h2>
|
<h2 class="post-title">{{ post.title }}</h2>
|
||||||
|
|
||||||
{% if post.subtitle %}
|
{% if post.subtitle %}
|
||||||
<h3 class="post-subtitle">
|
<h3 class="post-subtitle">
|
||||||
{{ post.subtitle }}
|
{{ post.subtitle }}
|
||||||
</h3>
|
</h3>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<p class="post-meta">
|
<p class="post-meta">
|
||||||
Posted on {{ post.date | date: "%B %-d, %Y" }}
|
Posted on {{ post.date | date: "%B %-d, %Y" }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="post-entry">
|
<div class="post-entry">
|
||||||
{{ post.content | truncatewords: 50 | strip_html | xml_escape}}
|
{{ post.content | strip_html | xml_escape | truncatewords: 50 }}
|
||||||
<a href="{{ post.url | prepend: site.baseurl }}" class="post-read-more">[Read More]</a>
|
<a href="{{ post.url | prepend: site.baseurl }}" class="post-read-more">[Read More]</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user