Sha256: 96e3e05631db796b24da934bfa740c11a8433c60cee2d3663580d732222bfed1

Contents?: true

Size: 1.74 KB

Versions: 13

Compression:

Stored size: 1.74 KB

Contents

{% comment %}
    Recent Posts Displayed here.
{% endcomment %}

<div class="panel panel-default" class="blog-panel">
    
  <div class="panel-heading">
    <h3 class="panel-title">Recent Posts</h3>
    <i class="glyphicon glyphicon-calendar pull-right" style="margin-top:-15px;"></i>
  </div>
  
  <div class="panel-body">
      
      {% for recent_post in site.posts limit: 3 %}
          <div class="featured_blog_post">
              <div class="row">
                  <div class="col-xs-12 no-padding">
                     <a href="{{recent_post.url}}">{{recent_post.title | truncate: 40}}</a>
                     <br /><small><em>{{recent_post.date | date: "%A, %B %-d, %Y" }}</em></small>
                 </div>
              </div>
          </div>
      {% endfor %}
      
      <div class="panel-view-more text-right">
          <a href="/blog/">
              View Blogs
          </a>
      </div>
      
  </div>
  
</div>

{% comment %}
    Other Posts
{% endcomment %}

<div class="panel panel-default">
  <div class="panel-heading">
    <h3 class="panel-title">Other Posts</h3>
    <i class="glyphicon glyphicon-list-alt pull-right" style="margin-top:-15px;"></i>
  </div>
  <div class="panel-body">
      {% assign posts = site.posts | sample:5 %}
      {% for post in posts %}
          <div class="featured_blog_post">
              <div class="row">
                  <div class="col-xs-12  no-padding">
                     <a href="{{post.url}}">{{post.title | truncate: 40}}</a>
                     <br /><small><em>{{post.date | date: "%A, %B %-d, %Y" }}</em></small>
                 </div>
              </div>
          </div>
      {% endfor %}
      <div class="panel-view-more text-right"><a href="/blog/">View Blogs</a></div>
  </div>
</div>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
jumbo-jekyll-theme-1.4.2.0 _includes/post-sidebar.html
jumbo-jekyll-theme-1.4.1.11 _includes/post-sidebar.html
jumbo-jekyll-theme-1.4.1.10 _includes/post-sidebar.html
jumbo-jekyll-theme-1.4.1.9 _includes/post-sidebar.html
jumbo-jekyll-theme-1.4.1.8 _includes/post-sidebar.html
jumbo-jekyll-theme-1.4.1.7 _includes/post-sidebar.html
jumbo-jekyll-theme-1.4.1.6 _includes/post-sidebar.html
jumbo-jekyll-theme-1.4.1.5 _includes/post-sidebar.html
jumbo-jekyll-theme-1.4.1.4 _includes/post-sidebar.html
jumbo-jekyll-theme-1.4.1.3 _includes/post-sidebar.html
jumbo-jekyll-theme-1.4.1.2 _includes/post-sidebar.html
jumbo-jekyll-theme-1.4.1.1 _includes/post-sidebar.html
jumbo-jekyll-theme-1.4 _includes/post-sidebar.html