{% if include.lookup %} {% assign post = site.posts | where_exp: "post", "post.slug == include.lookup" | first | default: include %} {% else %} {% assign post = include %} {% endif %}
{% assign url = post.url %} {% assign title = post.title %} {% assign image = post.image %} {% if image %} {{ title | default: {% endif %}
{{ title }} {% include post-info.html author=post.author published=post.date updated=post.last_modified_at tags=post.tags %} {% assign excerpt = post.content | default: "" | regex_scan: "(.*)", true | default: post.excerpt | default: "" | strip_html %} {% assign search = post.content | strip_html | strip_newlines | regex_strip %}

{{ excerpt }}