Update home.html
This commit is contained in:
parent
56c0014d4d
commit
648adcf25c
@ -3,24 +3,24 @@ layout: default
|
|||||||
---
|
---
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
{% for post in site.posts %}
|
{% for note in site.notes %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ post.url }}">{{ post.title }}</a>
|
<a href="{{ note.url }}">{{ note.title }}</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
{% for post in site.posts %}
|
{% for note in site.notes %}
|
||||||
<div class="post_excerpt">
|
<div class="post_excerpt">
|
||||||
<article>
|
<article>
|
||||||
<h2 itemprop="headline">
|
<h2 itemprop="headline">
|
||||||
<a href="{{ post.url | relative_url }}" rel="permalink">{{ post.title }}</a>
|
<a href="{{ post.url | relative_url }}" rel="permalink">{{ note.title }}</a>
|
||||||
</h2>
|
</h2>
|
||||||
<p class="excerpt" itemprop="description"><em>{% if post.excerpt %}
|
<p class="excerpt" itemprop="description"><em>{% if post.excerpt %}
|
||||||
{{ post.excerpt | markdownify | strip_html }}
|
{{ note.excerpt | markdownify | strip_html }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ post.content | markdownify | strip_html | truncate: 160 }}
|
{{ note.content | markdownify | strip_html | truncate: 160 }}
|
||||||
{% endif %}</em></p>
|
{% endif %}</em></p>
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user