Sha256: caefdf41185def22030dcc51d683c9f2869187e80f40381ec4fa79387c2213f4
Contents?: true
Size: 1.56 KB
Versions: 3
Compression:
Stored size: 1.56 KB
Contents
<div class="container"> <div class="relatedPosts"> {%- if site.posts -%} <h1 class="related_post_heading">Recent Posts</h1> {%- endif -%} <div class="row"> {% for post in site.posts offset:1 limit:3 %} {% if post.url != page.url %} {%- include /authors/authors.html -%} <div class="col-lg-4 col-md-6 mb-4 card-group"> <div class="card h-100"> <a href="{{ post.url }}"> <img src="{{ post.image }}" class="card-img-top" alt=""> </a> <div class="card-body"> <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link"> <h4 class="card-title mb-4 text-left">{{ post.title }}</h4> </a> </div> <div class="card-footer bg-white"> <div class="wrapfooter"> {% if post.author %} <span class="meta-footer-thumb"> <img class="author-thumb" src="{{image}}" alt="{{ authorName }}"> </span> {% endif %} <span class="author-meta"> <span class="post-name"> <a target="_blank" href="/blog">{{authorName}}</a> </span><br> <span class="post-date">{{post.date | date_to_string }}</span> </span> <span class="post-read-more"><a class="text-dark" href="{{ post.url }}" title="Read Story">Read More</a></span> </div> </div> </div> </div> {% endif %} {% endfor %} </div> </div> </div>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
appscms-tools-theme-0.6.5 | _includes/section/recent_posts.html |
appscms-tools-theme-0.6.4 | _includes/section/recent_posts.html |
appscms-tools-theme-0.6.3 | _includes/section/recent_posts.html |