Sha256: ceeea4f4ab78c6f0129ec6f0c8a4d2ddd1cd8ffbf596b66b3728a68d99f84df9
Contents?: true
Size: 1.89 KB
Versions: 7
Compression:
Stored size: 1.89 KB
Contents
--- layout: default --- <main class="page"> <div class="row"> <div class="col"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="/">Home</a></li> <li class="breadcrumb-item active">{{ page.title | capitalize }}</li> </ol> </div> <div class="col text-right"> <a href="{{ "/feed.xml" | relative_url }}"><button type="button" class="btn btn-dark"><i class="fas fa-rss"></i> Subscribe</button></a> </div> </div> <div class="row"> <div class="blog"> {%- if site.posts.size > 0 -%} <div class="d-flex align-content-start flex-wrap align-content-stretch"> {%- for post in paginator.posts -%} <div class="card"> <a href="{{ post.url | relative_url }}"> <div class="card-body"> {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%} {%- if post.image -%} <img class="card-img-top" src="{{ post.image }}" alt="{{ post.title | escape }}"> {%- endif -%} <h5 class="card-title">{{ post.title | escape }}</h5> <p class="card-date">{{ post.date | date: date_format }}</p> {%- if site.show_excerpts -%} <p class="card-excerpt">{{ sponsor.excerpt }}</p> {%- endif -%} </div> </a> </div> {% endfor %} </div> {%- endif -%} {% if paginator.total_pages > 1 %} <div class="paginator"> {% if paginator.previous_page %} <span class="newer"> <a href="{{ paginator.previous_page_path }}"><i class="fas fa-arrow-left"></i> Newer</a> </span> {% endif %} {% if paginator.next_page %} <span class="older"> <a href="{{ paginator.next_page_path }}"> Older <i class="fas fa-arrow-right"></i></a> </span> {% endif %} </div> {% endif %} </div> </div> </main>
Version data entries
7 entries across 7 versions & 1 rubygems