switch from post to notes

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

View File

@ -17,7 +17,7 @@ layout: default
<h2 itemprop="headline">
<a href="{{ post.url | relative_url }}" rel="permalink">{{ note.title }}</a>
</h2>
<p class="excerpt" itemprop="description"><em>{% if post.excerpt %}
<p class="excerpt" itemprop="description"><em>{% if note.excerpt %}
{{ note.excerpt | markdownify | strip_html }}
{% else %}
{{ note.content | markdownify | strip_html | truncate: 160 }}