Sha256: e449276f730e412bdce104b765b1aa07c31d182341b8e77c31afd0af3708870d
Contents?: true
Size: 910 Bytes
Versions: 2
Compression:
Stored size: 910 Bytes
Contents
<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>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll-theme-tallneck-0.1.2 | _includes/article-preview.html |
jekyll-theme-tallneck-0.1.1 | _includes/article-preview.html |