Sha256: 0fa357378516029029e02e252854fa7ab5539a1e450910b48631a620c2782430
Contents?: true
Size: 1.37 KB
Versions: 9
Compression:
Stored size: 1.37 KB
Contents
<div class="columns is-multiline"> {% for document in collection %} {%- assign imagesource = metadata.bulmatown_theme.image_sizes.embed | default: "image" %} <div class="column is-full-mobile is-full-tablet is-half-desktop"> <div class="box document-entry"> {% if document.image %} <figure class="image is-5by3"> <a href="{{ document.url }}"> <img src="{{ document[imagesource] }}" /> </a> </figure> {% endif %} <div class="content"> <h3> <a class="is-decorationless" href="{{ document.url }}"> {{ document.title | smartify }} </a> </h3> {% if document.subtitle and document.subtitle != "" %} {% assign excerpt = document.subtitle | smartify | prepend: "<p>" | append: "</p>" %} {% elsif document.description and document.description != "" %} {% assign excerpt = document.description | smartify | prepend: "<p>" | append: "</p>" %} {% else %} {% assign excerpt = document.excerpt %} {% endif %} {{ excerpt }} <p class="mt-5"> {% render "bulmatown/button", type: "primary", label: "Continue Reading", link: document.url, icon: "file-text" %} </p> </div> </div> </div> {% endfor %} </div>
Version data entries
9 entries across 9 versions & 1 rubygems