Sha256: 2ce0015907a36a75b304a6ca77fdad1bcf08496bcd86005d11038e56360a8474
Contents?: true
Size: 1.48 KB
Versions: 1
Compression:
Stored size: 1.48 KB
Contents
--- layout: default --- <div class="home"> {{ content }} {% if site.paginate %} {% assign posts = paginator.posts %} {% else %} {% assign posts = site.posts %} {% endif %} {%- if posts.size > 0 -%} <ul class="post-list"> {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%} {%- for post in posts -%} <li> <h2> <a href="{{ post.url | relative_url }}"> {{ post.title | escape }} </a> </h2> <span class="post-meta">{{ post.date | date: date_format }}</span> {%- if post.show_excerpts != false -%} <div class="post-excerpt">{{ post.excerpt | strip_html }}</div> {%- endif -%} </li> {%- endfor -%} </ul> {% if site.paginate %} <div class="pager"> <ul class="pagination"> {%- if paginator.previous_page %} <li><a href="{{ paginator.previous_page_path | relative_url }}" class="previous-page">{{ paginator.previous_page }}</a></li> {%- else %} <li><div class="pager-edge">•</div></li> {%- endif %} <li><div class="current-page">{{ paginator.page }}</div></li> {%- if paginator.next_page %} <li><a href="{{ paginator.next_page_path | relative_url }}" class="next-page">{{ paginator.next_page }}</a></li> {%- else %} <li><div class="pager-edge">•</div></li> {%- endif %} </ul> </div> {%- endif %} {%- endif -%} </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jekyll-theme-hamilton-3.1.0 | _layouts/home.html |