_includes/article-preview.html in jekyll-theme-tallneck-0.1.0 vs _includes/article-preview.html in jekyll-theme-tallneck-0.1.1
- old
+ new
@@ -1,20 +1,20 @@
-<a class="post-preview__box" href="{{ include.url | relative_url }}">
- <div class="post-preview__box__image">
- {% if include.image %}
- <img src="{{ include.image | relative_url }}" alt="{{ include.alt }}">
- {% else %}
- <img src="{{ '/assets/images/banner.png' | relative_url }}" alt="Website logo">
- {% endif %}
- </div>
- <div class="post-preview__box__content">
- <h2 class="post-preview__box__content__title">{{ include.title }}</h2>
- {% if include.date %}
- <small class="post-preview__box__content__date">{{ include.date | date: "%-d %B %Y" }}</small>
- {% endif %}
- {% if include.author %}
- |
- <span class="post-preview__box__content__author">{{ include.author }}</span>
- {% endif %}
- <p class="post-preview__box__content__description">{{ include.subtitle }}</p>
- </div>
+<a class="post-preview__box" href="{{ include.url | relative_url }}">
+ <div class="post-preview__box__image">
+ {% if include.image %}
+ <img src="{{ include.image | relative_url }}" alt="{{ include.alt }}">
+ {% else %}
+ <img src="{{ '/assets/images/banner.png' | relative_url }}" alt="Website logo">
+ {% endif %}
+ </div>
+ <div class="post-preview__box__content">
+ <h2 class="post-preview__box__content__title">{{ include.title }}</h2>
+ {% if include.date %}
+ <small class="post-preview__box__content__date">{{ include.date | date: "%-d %B %Y" }}</small>
+ {% endif %}
+ {% if include.author %}
+ |
+ <span class="post-preview__box__content__author">{{ include.author }}</span>
+ {% endif %}
+ <p class="post-preview__box__content__description">{{ include.subtitle }}</p>
+ </div>
</a>
\ No newline at end of file