Sha256: 2fc7a28cf8023ec67dde3520d17b5aff173253ec69d5b657227ffeb76b9b9925
Contents?: true
Size: 1.33 KB
Versions: 2
Compression:
Stored size: 1.33 KB
Contents
<ul class="grid"> {% for post in include.posts %} <li class="card-tab {{ post.color }}"> <div class="top-bar"> {{ post.date | date: "%b %d, %Y" }} </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.1.1 | _includes/grid.html |
askclass-news-theme-0.1.0 | _includes/grid.html |