Sha256: df3fc8f877c3a4e59ea3c467fb6bedf3cee032a04c2811493338e2fd371b663f
Contents?: true
Size: 1.34 KB
Versions: 2
Compression:
Stored size: 1.34 KB
Contents
<ul class="grid"> {% for post in include.posts %} <li class="card-tab {{ post.color }}"> <div class="top-bar"> {{ post.date | date: site.date_format }} </div> {% if post.icon %} <div class="tab"><span class="material-icons">{{ post.icon }}</span></div> {% else %} {% assign words = post.content | strip_html | strip_newlines | strip | split: " " %} <div class="tab">{{ words.size }}<small>words</small></div> {% endif %} <div class="header"> {% if post.writer %} {{ post.writer }} {% else %} <a href="/writers/{{ post.category | downcase }}"> {{ post.category | replace: "_", " " }} </a> {% endif %} </div> <div class="body"> {% if post.image %} <img src="{{ post.image }}" alt="{{ post.title }}" /> {% endif %} <h3><a href="{{ post.url }}">{{ post.title }}</a></h3> {{ post.excerpt }} </div> <div class="control"> <a href="{{ post.url }}"> <span class="middle-align material-icons">article</span> </a> {% if post.tags %} <div class="tags"> {% for tag in post.tags %} <small>{{ tag }}</small> {% endfor %} </div> {% endif %} </div> </li> {% endfor %} </ul>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
askclass-news-theme-0.2.1 | _includes/grid.html |
askclass-news-theme-0.2.0 | _includes/grid.html |