Update home.html

This commit is contained in:
dcwalk 2021-03-18 21:15:51 -04:00 committed by GitHub
parent 56c0014d4d
commit 648adcf25c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>