_includes/archive-single.html in lone-wolf-theme-1.0.7 vs _includes/archive-single.html in lone-wolf-theme-1.1.0

- old
+ new

@@ -1,41 +1,8 @@ -{%- assign item = include.item -%} +{%- assign li_item = include.item -%} -<a href="{{ item.url | relative_url }}" title="Go to {{ item.title }}" class="nav-link py-0"> - <div class="row no-gutters mb-3 border rounded"> - {% if item.header.teaser %} - {% capture img_path %} - {{ "/assets/images/" | relative_url | append: item.header.teaser }} - {% endcapture %} - - {% capture img_alt %} - {{ item.title }} - {% endcapture %} - - {% elsif site.teaser %} - {% capture img_path %} - {{ "/assets/images/" | relative_url | append: site.teaser }} - {% endcapture %} - - {% capture img_alt %} - {{ site.title }} post teaser - {% endcapture %} - {% endif %} - - {% if img_path %} - <div class="col-sm-4 text-center"> - <img class="img-fluid rounded" src="{{ img_path | strip }}" alt="{{ img_alt | strip }}"> - </div> - {% endif %} - <div class="col-sm-8 pl-3"> - <h3 class="my-1"> - <span class="text-dark ">{{ item.title | strip | strip_html | strip_newlines | truncate: 60 }}</span> - </h3> - <p class="mb-1"> - <span class="small font-italic text-secondary">{{ item.date | date: "%b %-d, %Y" }}</span> - </p> - <p class="mb-1 d-none d-sm-block"> - <span class="text-muted">{{ item.excerpt | strip | strip_html | strip_newlines | truncate: 180 }}</span> - </p> - </div> - </div> -</a> \ No newline at end of file +<li> + <a href="{{ li_item.url | relative_url }}">{{ li_item.title }}</a> + <p class="font-italic text-muted"> + {{ li_item.date | date_to_string }} | {{ li_item.categories | join: ', ' }} + </p> +</li>