Sha256: 5bee28b9bc563f1af35f05ca7bdc1f3d748cf7ba371362b862c7d35f92a6dc3d
Contents?: true
Size: 1.8 KB
Versions: 2
Compression:
Stored size: 1.8 KB
Contents
--- layout: default --- <div class="home"> {% if site.theme_settings.header_text %} <div id="main" class="call-out" style="background-image: url('{{ site.baseurl }}/{{ site.theme_settings.header_text_feature_image }}')"> {{ site.theme_settings.header_text }} </div> {% endif %} <div class="posts"> {% for post in paginator.posts %} <div class="post-teaser"> {% if post.thumbnail %} <div class="post-img"> <img src="{{ site.baseurl }}/{{ post.thumbnail }}"> </div> {% endif %} <span> <header> <h1> <a class="post-link" href="{{ post.url | prepend: site.baseurl }}"> {{ post.title }} </a> </h1> <p class="meta"> {{ post.date | date: "%B %-d, %Y" }} </p> </header> <div class="excerpt"> {{ post.excerpt | strip_html }} <!--{{ post.content | strip_html | truncate: "250" }}--> <!--<a class="button" href="{{ post.url | prepend: site.baseurl }}"> {{ site.theme_settings.str_continue_reading }} </a>--> </div> </span> </div> {% endfor %} </div> {% if paginator.total_pages > 1 %} <div class="pagination"> {% if paginator.previous_page %} <a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="button" > <i class="fa fa-chevron-left"></i> {{ site.theme_settings.str_previous_page }} </a> {% endif %} {% if paginator.next_page %} <a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="button" > {{ site.theme_settings.str_next_page }} <i class="fa fa-chevron-right"></i> </a> {% endif %} </div> {% endif %} </div>
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
jekyll-theme-type-on-strap-3.0.0 | _layouts/home.html |
type-on-strap-0.4.2 | _layouts/home.html |